hyprwm / hypridle

Hyprland's idle daemon
BSD 3-Clause "New" or "Revised" License
320 stars 16 forks source link

[Feature] Add option to prevent sleeping when any application is outputting or receiving audio #27

Open e-tho opened 4 months ago

e-tho commented 4 months ago

This would provide the same functionality that SwayAudioIdleInhibit offers as an extension to swayidle, but integrated directly into the daemon.

vaxerski commented 4 months ago

this should work on hl, tho?

e-tho commented 4 months ago

I was playing music through the Cider 2 app earlier, and the computer went into sleep mode regardless, on hl

SwollenBadger commented 4 months ago

This also happened when playing some media on firefox, like videos on youtube

SwollenBadger commented 4 months ago

But not happening on google-chrome

mooncoffee1 commented 2 months ago

vaxerski, please add indle inhibit like how is on sway, the swayaudioidleinhibit, it would be cool, to activate it like, from settings, or maybe a bind, or command, to stop idle when listening music. Pls hyprGod, listen to our needs!!!

fufexan commented 2 months ago

https://github.com/fufexan/dotfiles/blob/main/home/services/wayland/hypridle.nix#L7-L13 image