Replace deprecated `swaymsg output dmps` with `swaymsg output power`
parent
0b0f0d4731
commit
0397f22418
|
@ -4,7 +4,7 @@ bindsym $alt+L exec 'swaylock'
|
||||||
# IDLE CONFIG
|
# IDLE CONFIG
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock' \
|
timeout 300 'swaylock' \
|
||||||
timeout 330 'swaymsg "output * dpms off"' \
|
timeout 330 'swaymsg "output * power off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * power on"' \
|
||||||
timeout 600 'systemctl suspend' \
|
timeout 600 'systemctl suspend' \
|
||||||
before-sleep 'swaylock; playerctl pause'
|
before-sleep 'swaylock; playerctl pause'
|
||||||
|
|
Loading…
Reference in New Issue