Screen is black when I close and open the lid. Turns back on only bu switchig to text console and back.
Mos likely this is because of my laptop hadware - partially. Because it switch screen black without asking OS unlike all my previous ones. (OLED screen ). But here is the thing - I implemeneted the lid workaround suggested here.
- Autostart: swayidle timeout 0 'output-power-management -d' resume 'output-power-management -e'
- On acpid lid action I call pkill -USR1 swayidle.
With this setting when I open the lid I can wage up just touching any key or even touchpad. But - only in the case when I did not inhibit idle using Alt-B in idle plugin.
Not sure if it is an issue with wayfire, wlroots or even wayland itself - with Xorg/compiz things were working fine.
Also thinking about workaround - like change behvavior of idle plugin instead of inhibiting idle (or as additional shortcut maybe) add a possibity to increase DPMS timeout for some signifficant value. Maybe even ipc script - not sure if there is a dpms timeout set in ipc protocol
I wouldn't say this is a bug because when you inhibit idle, then swayidle will not work properly. We probably could add an ipc command to query the state of idle inhibition so that you can workaround it in your scripts.
Just query the inhibit state will not help without the ipc command to control the inhibition.