l: use i3lock instead of slock
This commit is contained in:
parent
d4cb24edb2
commit
99b8bfeaec
|
@ -40,10 +40,6 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
security.setuidPrograms = [
|
||||
"slock"
|
||||
];
|
||||
|
||||
systemd.services.display-manager.enable = false;
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
@ -96,6 +92,7 @@ let
|
|||
set -efu
|
||||
export PATH; PATH=${makeSearchPath "bin" ([
|
||||
pkgs.rxvt_unicode
|
||||
pkgs.i3lock
|
||||
] ++ config.environment.systemPackages)}:/var/setuid-wrappers
|
||||
settle() {(
|
||||
# Use PATH for a clean journal
|
||||
|
|
|
@ -119,7 +119,7 @@ displaySomeException = displayException
|
|||
|
||||
|
||||
myKeyMap =
|
||||
[ ("M4-<F11>", spawn "/var/setuid-wrappers/slock")
|
||||
[ ("M4-<F11>", spawn "i3lock -i /tmp/wallpaper.png -f")
|
||||
, ("M4-p", spawn "passmenu --type")
|
||||
--, ("M4-r", spawn "exe=$(yeganesh -x) && eval \"exec $exe\"")
|
||||
, ("<XF86AudioRaiseVolume>", spawn "pactl -- set-sink-volume 0 +4%")
|
||||
|
|
Loading…
Reference in a new issue