1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-04-20 00:53:52 +02:00

rephrase swayidle-timout example to improve readability

This commit is contained in:
Jonas Große Sundrup 2020-07-12 13:57:30 +02:00 committed by Simon Ser
parent 585236f168
commit 10ec97c073

View File

@ -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