aboutsummaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2019-01-09 01:16:32 +0000
committeremersion <contact@emersion.fr>2019-01-14 18:08:13 +0100
commit2f36db15d449705a0d73828d27a58db8928866f1 (patch)
tree3213fbf94ffc5ab73963d78cbab4d5d76fb28e0d /config.in
parent15cd8b6a86295a445a1037afd0028b1226a14c82 (diff)
config.in: update swayidle/swaylock example
Diffstat (limited to 'config.in')
-rw-r--r--config.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.in b/config.in
index bb9e35c7..fbd95235 100644
--- a/config.in
+++ b/config.in
@@ -34,11 +34,11 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
-#exec swayidle \
-# timeout 300 'swaylock -c 000000' \
-# timeout 600 'swaymsg "output * dpms off"' \
-# resume 'swaymsg "output * dpms on"' \
-# before-sleep 'swaylock -c 000000'
+# exec swayidle -w \
+# timeout 300 'swaylock -f -c 000000' \
+# 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
# your displays after another 300 seconds, and turn your screens back on when