summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Große Sundrup <jonas-git@grosse-sundrup.com>2020-07-12 13:57:30 +0200
committerSimon Ser <contact@emersion.fr>2020-07-15 19:27:13 +0200
commit773e745f52ce0d098188c8cf4ca04b81a074bb4e (patch)
tree2aed34b67d32f16a1498cbae42326955f2910685
parent3d6010e48061fca665d8ec934dc6aa2b9816650c (diff)
rephrase swayidle-timout example to improve readability
(cherry picked from commit 10ec97c073ea7c06f7c129a4baa4576783248148)
-rw-r--r--config.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.in b/config.in
index 559431693..08703bef2 100644
--- a/config.in
+++ b/config.in
@@ -37,8 +37,7 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
-# timeout 600 'swaymsg "output * dpms off"' \
-# resume 'swaymsg "output * dpms on"' \
+# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off