desktop: sleep before blankscreening

This commit is contained in:
Motiejus Jakštys 2023-09-21 06:57:45 +03:00
parent 0507fb3328
commit 69da809527

View File

@ -171,7 +171,7 @@
services.screen-locker = {
enable = true;
xautolock.enable = false;
lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"'';
lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.coreutils}/bin/sleep 0.2; ${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"'';
};
};
};