1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-10 12:46:14 +02:00

config.in: switch to `output power`

This commit is contained in:
Simon Ser 2022-07-02 11:54:43 +02:00 committed by Kirill Primak
parent 11e05c5711
commit 798e3c8858

View File

@ -37,7 +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 * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off