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