summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-01-11 13:54:32 -0600
committerzachir <zachir@librem.one>2024-01-11 14:04:57 -0600
commita6309f12fe1b589307ef4f14bc3e88dce9f28617 (patch)
tree1c22f104365b108da010bcd0ab2fa5c42a0e70ef
parent9961a1ee25f722a46500f7d9c356b9751cd8408c (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