Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Ignore idle inhibition per listener #39

Open
Silveere opened this issue Mar 26, 2024 · 3 comments
Open

[Feature] Ignore idle inhibition per listener #39

Silveere opened this issue Mar 26, 2024 · 3 comments

Comments

@Silveere
Copy link

Silveere commented Mar 26, 2024

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.

@rtgiskard
Copy link

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.

@Atemu
Copy link

Atemu commented Aug 9, 2024

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

@Atemu
Copy link

Atemu commented Aug 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants