swaylock-wrapper: use 'power' instead of 'dpms'

This commit is contained in:
leo 2023-06-06 16:16:31 +02:00
parent 974de9c42d
commit f8fe1631ee
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -12,6 +12,6 @@ revert() {
} }
trap revert HUP INT TERM trap revert HUP INT TERM
swayidle -w timeout 5 'swaymsg "output * dpms off"' \ swayidle -w timeout 5 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' & resume 'swaymsg "output * power on"' &
swaylock -C ~/.config/swaylock/config swaylock -C ~/.config/swaylock/config
revert revert