dwmbar
dwmbar copied to clipboard
How do I stop the volume bar from breaking?
It keeps breaking during startup. It complains about the "pacmd" command not being installed. I use pipewire, and I don't know why it keeps asking. This is happening on the volumebar module. I can't get this "pacmd" command either.
Hi,
We wrote this module for pulseaudio as pipewire wasn't really a common thing when we built this.
"pacmd" isn't provided by pipewire-pulse which is why the module is breaking.
You could try to write your own module based on pamixer --get-volume
instead, which I believe does work. If not, you should be able to find a lot of resources for how to do it with pipewire.
Fixed that, but I have this now:
SyntaxError: invalid syntax
File "<string>", line 1
print(( / 100) * 9)
^
i have this too, i just got rid of volume bar alltogether
Fixed that, but I have this now:
SyntaxError: invalid syntax File "<string>", line 1 print(( / 100) * 9) ^
The $volume
variable is being set to nothing, and so the following print command called to set $slider_position
doesn't evaluate correctly.
I could possibly help with a full listing of the script.