hypridle icon indicating copy to clipboard operation
hypridle copied to clipboard

[Feature] Ignore idle inhibition per listener

Open Silveere opened this issue 10 months ago • 3 comments

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 calls pgrep -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.

Silveere avatar Mar 26 '24 07:03 Silveere

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.

rtgiskard avatar May 05 '24 16:05 rtgiskard

I have a use-case where I'd like all listeners to heed inhibition state except for one that should fire regardless.

Atemu avatar Aug 09 '24 03:08 Atemu

A workaround I found is to have two hypridle daemons with two separate config files running where one config file ignores inhibition and the other one does not. You then put your listener in one or the other config file, depending on whether you want it to be inhibited or not.

Atemu avatar Aug 10 '24 12:08 Atemu