nix/lock: don't check empty password
This commit is contained in:
parent
f1bcf6fc0c
commit
e2ac4697eb
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.betterlockscreen = {
|
services.betterlockscreen = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
arguments = [ "--" "-e" ];
|
||||||
inactiveInterval = 15;
|
inactiveInterval = 15;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -290,7 +290,7 @@ myKeys conf = mkKeymap conf $
|
||||||
|
|
||||||
|
|
||||||
-- Lock screen
|
-- Lock screen
|
||||||
, ("M4-l", spawn "betterlockscreen --lock")
|
, ("M4-l", spawn "betterlockscreen --lock -- -e")
|
||||||
|
|
||||||
-- Change volume
|
-- Change volume
|
||||||
, ("<XF86AudioMute>", spawn "amixer -q sset Master toggle")
|
, ("<XF86AudioMute>", spawn "amixer -q sset Master toggle")
|
||||||
|
|
Loading…
Reference in a new issue