diff options
author | Ian Fan <ianfan0@gmail.com> | 2019-01-09 01:16:32 +0000 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-14 18:08:13 +0100 |
commit | 2f36db15d449705a0d73828d27a58db8928866f1 (patch) | |
tree | 3213fbf94ffc5ab73963d78cbab4d5d76fb28e0d /config.in | |
parent | 15cd8b6a86295a445a1037afd0028b1226a14c82 (diff) |
config.in: update swayidle/swaylock example
Diffstat (limited to 'config.in')
-rw-r--r-- | config.in | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |