Replace deprecated `swaymsg output dmps` with `swaymsg output power`

main
Ensar Sarajčić 2024-11-21 18:00:19 +01:00
parent 0b0f0d4731
commit 0397f22418
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ bindsym $alt+L exec 'swaylock'
# IDLE CONFIG
exec swayidle -w \
timeout 300 'swaylock' \
timeout 330 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
timeout 330 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
timeout 600 'systemctl suspend' \
before-sleep 'swaylock; playerctl pause'