aboutsummaryrefslogtreecommitdiff
path: root/config/swayidle
diff options
context:
space:
mode:
Diffstat (limited to 'config/swayidle')
-rw-r--r--config/swayidle/config7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/swayidle/config b/config/swayidle/config
new file mode 100644
index 0000000..c344033
--- /dev/null
+++ b/config/swayidle/config
@@ -0,0 +1,7 @@
+timeout 301 'swaymsg output "*" dpms off' resume 'swaymsg output "*" dpms on'
+
+timeout 300 'myswaylock'
+lock 'myswaylock'
+before-sleep 'myswaylock'
+
+unlock 'killall swaylock'