commit 2f36db15d449705a0d73828d27a58db8928866f1 parent 15cd8b6a86295a445a1037afd0028b1226a14c82 Author: Ian Fan <ianfan0@gmail.com> Date: Wed, 9 Jan 2019 01:16:32 +0000 config.in: update swayidle/swaylock example Diffstat:
| M | config.in | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git 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