summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-01-11 13:54:32 -0600
committerzachir <zachir@librem.one>2024-01-12 07:38:43 -0600
commit0c541e21996cca4496881ef7ae7751684b97830c (patch)
tree8cabbc553492a76f6ffd4839819ef7b8625b718b
parent346aca6ca78ae1a1dac29dfdfa6639251f51a9f6 (diff)
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.
-rw-r--r--swayidle/config3
1 files changed, 2 insertions, 1 deletions
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