swaywm/swayidle

[RFE] option to let a set of keys through to compositor without waking up

alex3kov opened this issue · 0 comments

What I'd like to do is this:

swayidle --ignore XF86AudioLowerVolume,XF86AudioPlay -w timeout 1800 'swaymsg "output * dpms off"'

When XF86AudioPlay is pressed it gets through to sway (and in turn to mpc) without waking up the monitor. The use case for this is controlling the PC as a music box only, without waking up the monitor (light pollution). Using hardware button to completely turn off the monitor is no good - like many monitors, mine has a glowing button (bright white when turned on, bright orange when suspended), so I isolated it. Controlling DPMS with software only.