Fix MPD on polybar

Hey fellas…first thing… yay! I have MPD working finally.

But if you look on the below screenshot, the progress bar for songs is real fugly… I would love to have it look similar to the volume slider to the right of it… any help on what, where, and how to make that happen would be outstanding.

HI,
mine is like that, see if you like it.
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}

1 Like

That’s weird…it is what I have also…but I get that red blob of a progress bar

I actually got it almost fixed…now it has a red border, but the center is similar to volume…what a pain to figure out…lol

If someone please help me get rid of this red border on here… I can’t seem to figure it out.

in hurry I forgot this, I see it that way.
bar-progress-indicator = 
ArchLabs_2018-09-30-13_1600x900

edit
post you modules.conf mpd

;;;;;;;;;
;; MPD ;;
;;;;;;;;;
[module/mpd]
type = internal/mpd
format-online = <bar-progress>  <icon-prev> <icon-stop> <toggle> <icon-next>  <label-song>
format-offline = <label-offline>
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
label-offline = mpd is off
format-online-prefix = " "
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
icon-repeat = 
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 35
bar-progress-indicator = |
bar-progress-fill = •
bar-progress-empty = ·
bar-progress-empty-font = 2
bar-progress-indicator-font = 2
bar-progress-fill-font = 2
bar-progress-fill-foreground = #6BB3E7
bar-progress-empty-foreground = #666666
bar-progress-indicator-foreground = #666666A85659

change:
%{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
to
%fill%%{-o -u}%indicator%%{-o -u}%empty%%{-o -u}

2 Likes

You are now my hero sir… thanks!

Top job @ector

2 Likes

Just for giggles… can you explain the difference between both lines…just to lessen my ignorance. If you have the time…

1 Like

read the polybar formatting wiki,where there are underline color% {u} and overline color% {o}.


Regards
1 Like

thanks

@TimApple I’ve never set up mpd, so I’m watching your topic with interest here :slight_smile:

I norm use either moc or audacious and I guess that’s always served me but think I may play with mpd when time permits.

This is the page I used to guide me through it… https://computingforgeeks.com/how-to-configure-mpd-and-ncmpcpp-on-linux/

1 Like

@TimApple Thank you kind sir, I’ll need it :slight_smile:

the best for configure mpd is:
https://wiki.archlinux.org/index.php/Music_Player_Daemon
There is also the script to install the mp configuration

https://www.musicpd.org/doc/html/user.html#bit_perfect