Swap swaylock back for swaylock-effects
Use swaylockfx wrapper to invoke as this keeps compatibility with stylix customisations
This commit is contained in:
parent
406e0972e1
commit
ebf727ed43
|
@ -6,6 +6,7 @@
|
|||
}:
|
||||
{
|
||||
imports = [ ./waybar/default.nix ];
|
||||
stylix.targets.swaylock.useImage = false; # Using swaylock-effects instead
|
||||
home.packages = with pkgs; [
|
||||
ffmpeg
|
||||
grim
|
||||
|
@ -13,6 +14,9 @@
|
|||
wl-clipboard
|
||||
swayimg
|
||||
swaybg
|
||||
(writeShellScriptBin "swaylockfx" ''
|
||||
${swaylock-effects}/bin/swaylock --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5
|
||||
'')
|
||||
(writeShellScriptBin "protonmail-setup-bridge" ''
|
||||
pkill -9 -f protonmail-bridge
|
||||
${protonmail-bridge}/bin/protonmail-bridge -c
|
||||
|
@ -21,7 +25,6 @@
|
|||
];
|
||||
programs = {
|
||||
waybar.systemd.target = "sway-session.target";
|
||||
swaylock.enable = true;
|
||||
fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -43,6 +46,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
};
|
||||
wlogout = {
|
||||
enable = true;
|
||||
layout = [
|
||||
|
@ -97,7 +104,7 @@
|
|||
timeouts = [
|
||||
{
|
||||
timeout = 60 * 15; # 15 minutes
|
||||
command = "swaylock";
|
||||
command = "swaylockfx";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -221,7 +228,7 @@
|
|||
"XF86MonBrightnessDown" = "exec ${config.services.avizo.package}/bin/lightctl - 5";
|
||||
|
||||
# System utilities
|
||||
"Mod4+Mod1+l" = "exec swaylock";
|
||||
"Mod4+Mod1+l" = "exec swaylockfx";
|
||||
"${modifier}+z" = "exec ${config.services.mako.package}/bin/makoctl restore";
|
||||
"${modifier}+Shift+z" = "exec ${config.services.mako.package}/bin/makoctl dismiss -a";
|
||||
"${modifier}+Shift+p" = "exec ${config.programs.wlogout.package}/bin/wlogout";
|
||||
|
|
Loading…
Reference in a new issue