swayidle: add event

This commit is contained in:
2022-08-21 22:20:12 +03:00
parent 35fce144e2
commit 022a7c854c

View File

@@ -8,4 +8,5 @@ swayidle -w \
timeout 900 "$lockCmd" \ timeout 900 "$lockCmd" \
timeout 900 'swaymsg "output * dpms off"' \ timeout 900 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \ resume 'swaymsg "output * dpms on"' \
after-resume 'swaymsg "output * dpms on"' \
before-sleep "$lockCmd" before-sleep "$lockCmd"