l: use i3lock instead of slock

This commit is contained in:
lassulus 2016-04-25 15:25:04 +02:00
parent d4cb24edb2
commit 99b8bfeaec
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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%")