Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.41k stars 696 forks source link

pulseaudio module only detects new default device after volume change #605

Open siwyd opened 4 years ago

siwyd commented 4 years ago

I have a small script I use to quickly switch between output devices. Basically, it sets a new default device and moves all of the sink-inputs to the new sink. I've noticed that Waybar doesn't pick up the change of default device (reproducible when using Pulsemixer or something like that to pick a default device).

Waybar only seems to pick up on the new device when the volume is changed on it. So right now I have this hacky workaround in my script to have Waybar pick up the change:

ponymix increase 1
ponymix decrease 1

Would it be possible to have the module pick up the change in device without any volume changes?

mssdvd commented 4 years ago

i3blocks-contrib's module volume-pulseaudio has cool features like changing the default output and muting the volume.

nolanl commented 1 year ago

I have this problem as well, using pipewire's pulse compability. waybar 0.9.17 from Debian 12. Even changing the volume didn't fix it for me, I had to restart waybar for it to detect the change in output.

xlucn commented 1 week ago

Having this as well. Really hope this could be worked on.

What I observe: