commit 03ba7c7da0e9cb2f3fad630f98aa758086d9ac8b
parent 8ade46283b99ba634617acb63d75993950e42d95
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 15 Oct 2021 11:03:08 +0200
users/vincent: update screen-locker options
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/users/vincent/desktop/i3.nix b/users/vincent/desktop/i3.nix
@@ -161,11 +161,15 @@ in
screen-locker = {
enable = true;
lockCmd = lockCommand;
- inactiveInterval = 300;
- enableDetectSleep = true;
+ inactiveInterval = 60;
+ xautolock = {
+ enable = true;
+ detectSleep = true;
+ };
};
random-background = {
enable = true;
+ enableXinerama = true;
imageDirectory = "${config.home.homeDirectory}/desktop/pictures/walls";
interval = "5h";
};