From a6309f12fe1b589307ef4f14bc3e88dce9f28617 Mon Sep 17 00:00:00 2001
From: zachir <zachir@librem.one>
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(-)

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