From 2f36db15d449705a0d73828d27a58db8928866f1 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Wed, 9 Jan 2019 01:16:32 +0000 Subject: [PATCH] config.in: update swayidle/swaylock example --- config.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.in b/config.in index bb9e35c75..fbd952353 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