end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.94k stars 267 forks source link

Audio popups also showing up if the volume changes e.g. by keys #557

Closed myryk31415 closed 4 months ago

myryk31415 commented 4 months ago

The audio popup now works as in most setups and shows up if the volume changes. It does not if you skip a song etc.

I implemented it for backlight as well, but its not working. The hook doesn't trigger if I change the brightness via keybinds. I assume the service doesnt check for that? Didn't check yet.

myryk31415 commented 4 months ago

One Issue: if you change to headphones, the popup appears because in most cases the volume is different

myryk31415 commented 4 months ago

The popup now doesn't show up anymore if the device changes. Idk if there is a better way to check tho.

myryk31415 commented 4 months ago

Should be ready if the feature is desired :)

end-4 commented 4 months ago

lgtm <- (i often don't say this but i wanna say something different today)

end-4 commented 4 months ago

anyway thanks, i can remove two keybinds now

myryk31415 commented 4 months ago

Something didn't work out, for me the Panel now pops up when i pause music as well, I'm gonna have another look at it

myryk31415 commented 4 months ago

Okay it only happens if you have volume levels over 100%.

(com.github.Aylur.ags:29989): GLib-GObject-CRITICAL **: 20:25:58.111: value "1.113281" of type 'gdouble' is invalid or out of range for property 'fraction' of type 'gdouble'

Any Ideas how to work around that?

myryk31415 commented 4 months ago

Ah ofc its the progress bar. I'm working on it