DPMS event
abelfodil opened this issue · 1 comments
abelfodil commented
When using
swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000'
while watching a long video, the screen is locked. Is there a way to listen to a DPMS event (like xss-lock
does) instead in Wayland?
emersion commented
Your video player needs to implement the idle-inhibit Wayland protocol.