SwayAudioIdleInhibit
SwayAudioIdleInhibit copied to clipboard
ability to add a delay before inhibiting
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)