dwmbar icon indicating copy to clipboard operation
dwmbar copied to clipboard

How do I stop the volume bar from breaking?

Open Drogobo opened this issue 1 year ago • 4 comments

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.

Drogobo avatar Apr 23 '23 21:04 Drogobo

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.

thytom avatar Apr 24 '23 10:04 thytom

Fixed that, but I have this now:

SyntaxError: invalid syntax
  File "<string>", line 1
    print(( / 100) * 9)
            ^

Drogobo avatar Apr 25 '23 00:04 Drogobo

i have this too, i just got rid of volume bar alltogether

RobinHirst11 avatar Aug 05 '24 18:08 RobinHirst11

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.

thytom avatar Aug 06 '24 08:08 thytom