mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 04:03:17 +00:00
rephrase swayidle-timout example to improve readability
(cherry picked from commit 10ec97c073
)
This commit is contained in:
parent
3d6010e480
commit
773e745f52
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue