From 0ed90f07ca08ad4a5b2380e52e8128e2bc3c88e9 Mon Sep 17 00:00:00 2001 From: Bad Date: Fri, 25 Feb 2022 00:13:37 +0100 Subject: [PATCH] Suspend after 5 minutes of inactivity --- users/profiles/sway/swayidle.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/profiles/sway/swayidle.nix b/users/profiles/sway/swayidle.nix index 1977f32..639899e 100644 --- a/users/profiles/sway/swayidle.nix +++ b/users/profiles/sway/swayidle.nix @@ -7,7 +7,7 @@ { event = "before-sleep"; command = "${scripts.lockscreen}/bin/lockscreen"; } ]; timeouts = [ -# { timeout = 60; command = ; } + { timeout = 300; command = "systemctl suspend"; } ]; }; }