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

ability to add a delay before inhibiting #15

Open
sneexy-boi opened this issue Sep 23, 2023 · 0 comments
Open

ability to add a delay before inhibiting #15

sneexy-boi opened this issue Sep 23, 2023 · 0 comments

Comments

@sneexy-boi
Copy link

sneexy-boi commented Sep 23, 2023

Hello, I've been having one particular (personal) issue about sway-audio-idle-inhibit, and it's that it does its job but I prefer if there was a way to add a delay when it detects audio before it decides to inhibit my screen locker, specifically because it's constantly triggered whenever an application I have open that plays audio, whether its because of a notification or ringtone or something. Was wondering if it would be possible to add something like --delay 5s where if audio is detected, it won't poke swayidle to stay awake after 5 seconds of audio playing just to confirm that it is media I'm playing and it's not just a notification playing in the background.

Thanks, sorry if this is unclear because I'm bad at explaining things 🙃

EDIT: An alternative method (or something that could work alongside this) would also be a blacklist configuration file where you can enter the name of applications that shouldn't prevent swayidle from staying awake (like a game or application that's constantly playing audio)

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

1 participant