Jas-SinghFSU / HyprPanel

A Bar/Panel for Hyprland with extensive customizability.
450 stars 32 forks source link

[Request] Add sound effect while changing volume #174

Open smathles opened 3 weeks ago

smathles commented 3 weeks ago

On most desktop environments/OS's, when the volume is changed a sample sound is played. This is quite useful for evaluating volume, especially if no audio is running in the background to test it on.

I'm not sure whether it would be better to detect and use (for instance) Breeze sound effects already installed, or add a dependency, or add a single audio file for this purpose.

Audio is fine and functional at the moment, this is purely a possible enhancement.

Jas-SinghFSU commented 2 weeks ago

There are a few things I want to do with audio; for instance the OSD should NOT show when changing the volume through the volume slider in the dropdown. But the event doesn't specify the source of the change so it's really hard to differentiate.

This would cause the sound effect to play when sliding in the menu as well. This would be a cool feature but I'm not sure how I'll have to go about it.

greed-d commented 2 weeks ago

Hmm, but I like that OSD shows the volume even when changing from the dropdown slider @Jas-SinghFSU

Jas-SinghFSU commented 2 weeks ago

@greed-d That won't change, any new behavior will almost always be opt-in :)