summaryrefslogtreecommitdiff
path: root/swayidle/config
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-01-11 13:54:32 -0600
committerzachir <zachir@librem.one>2024-01-11 13:54:32 -0600
commit7c6db58bef5e8dc34e5e5da43b0673ba80dfc006 (patch)
treee8ddea511727ae320f7862b6eb30875570c2f743 /swayidle/config
parentcbef9c7de8780718c257d2492577280fb694a91a (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.
Diffstat (limited to 'swayidle/config')
-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