commit 8620da1e097e5efb878dc5ec8d554d5c9b756dde
parent 7f206cbc29856c1494e334cb4531734957a4e7ad
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 22 Sep 2021 14:40:16 +0200
users/vincent: update screen-locker configuration
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/users/vincent/desktop/i3.nix b/users/vincent/desktop/i3.nix
@@ -13,7 +13,6 @@ let
*Shutdown) systemctl -i poweroff
esac
'';
- # lockCommand = "${pkgs.i3lock-color}/bin/i3lock-color -c 666666";
lockCommand = "${pkgs.betterlockscreen}/bin/betterlockscreen -l dim";
in
{
@@ -158,10 +157,8 @@ in
screen-locker = {
enable = true;
lockCmd = lockCommand;
- inactiveInterval = 60;
- # xautolockExtraOptions = [
- # "Xautolock.killer: systemctl suspend"
- # ];
+ inactiveInterval = 300;
+ enableDetectSleep = true;
};
random-background = {
enable = true;