mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
config.in: update swayidle/swaylock example
This commit is contained in:
parent
15cd8b6a86
commit
2f36db15d4
1 changed files with 5 additions and 5 deletions
10
config.in
10
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
|
||||
|
|
Loading…
Reference in a new issue