Open Silveere opened 3 months ago
I'm also trying to resolve the case, a better solution might be bind an extra operation for lock_cmd with a delay, so that once it's locked, either manually lock or idle timeout lock, the screen can be turned off efficiently, and no need for extra listener.
This would add a listener version of the
ignore_dbus_inhibit
option. The reason I want this is to make manually locking my screen always set DPMS to off, regardless of inhibition state (e.g., if I am listening to a video from my browser in the background). One of my listeners callspgrep -x swaylock && hyprctl dispatch dpms off
after 10 seconds. I would like to have it run regardless of inhibition, so that my screen will always turn off if I manually lock my session.