swaylock-wrapper: use 'power' instead of 'dpms'
This commit is contained in:
parent
974de9c42d
commit
f8fe1631ee
@ -12,6 +12,6 @@ revert() {
|
||||
}
|
||||
trap revert HUP INT TERM
|
||||
swayidle -w timeout 5 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' &
|
||||
resume 'swaymsg "output * power on"' &
|
||||
swaylock -C ~/.config/swaylock/config
|
||||
revert
|
||||
|
Loading…
Reference in New Issue
Block a user