aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/swayidle/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/swayidle/config b/.config/swayidle/config
new file mode 100644
index 0000000..804f0cd
--- /dev/null
+++ b/.config/swayidle/config
@@ -0,0 +1,3 @@
+timeout 300 'setsid -f waylock'
+timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
+before-sleep 'setsid -f waylock'