From 0c541e21996cca4496881ef7ae7751684b97830c Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 11 Jan 2024 13:54:32 -0600 Subject: swayidle: lock after 5 min, suspend at 10 Swayidle will now lock the screen after 5 minutes, and it will suspend after 10. Basically just decreased the lock timeout and added that it will suspend. --- swayidle/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'swayidle/config') diff --git a/swayidle/config b/swayidle/config index 00fb5a7..52f7c7e 100644 --- a/swayidle/config +++ b/swayidle/config @@ -1,3 +1,4 @@ -timeout 600 swaylockd +timeout 300 swaylockd +timeout 600 'loginctl suspend' before-sleep swaylockd lock swaylockd -- cgit v1.2.3