aboutsummaryrefslogtreecommitdiff
path: root/dot_config/swayidle/config
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/swayidle/config')
-rw-r--r--dot_config/swayidle/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/swayidle/config b/dot_config/swayidle/config
new file mode 100644
index 0000000..d774c2c
--- /dev/null
+++ b/dot_config/swayidle/config
@@ -0,0 +1,4 @@
+timeout 180 swaylock
+timeout 240 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
+before-sleep swaylock
+after-resume 'swaymsg "output * dpms on"'