Commit 8620da1e097e

Vincent Demeester <vincent@sbr.pm>
2021-09-22 14:40:16
users/vincent: update screen-locker configuration
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 7f206cb
Changed files (1)
users
vincent
desktop
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;