Add screen-locker
This commit is contained in:
parent
527a982bb2
commit
5fff35c645
2 changed files with 8 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ myRemoveKeys = [
|
|||
|
||||
myAdditionalKeys = [
|
||||
("M-q", kill),
|
||||
("M-x", spawn "~/.xmonad/scripts/lock.sh"),
|
||||
("M-x", spawn "i3lock -e -f -c 000000 -i ~/.wallpaper.png"),
|
||||
("M-S-h", sendMessage (IncMasterN 1)),
|
||||
("M-S-l", sendMessage (IncMasterN (-1))),
|
||||
("M-S-<Return>", windows W.swapMaster),
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
xorg.xwininfo
|
||||
xorg.xkill
|
||||
scrot
|
||||
i3lock
|
||||
];
|
||||
home.keyboard = {
|
||||
layout = "fr";
|
||||
|
|
@ -156,4 +157,9 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
services.screen-locker = {
|
||||
enable = true;
|
||||
inactiveInterval = 5;
|
||||
lockCmd = "\${pkgs.i3lock}/bin/i3lock -e -f -c 000000 -i ~/.wallpaper.png";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue