/better-progress-bar

A script written in bash that displays the percentage of the song completed in lemonbar by recolouring the characters in the name.

Primary LanguageShell

Better Music Progress

A script that takes the currently playing song and recolours it to display the percentage of the song completed in Lemonbar.
Resets the colour to Lemonbar's foreground colour.
Outputs "song title - artist name" if tagged correctly, otherwise outputs file name.
To change this edit the string in the songstr variable on line 5. See man mpc for more formatting options.
Example: 1

Only dependency is mpc and subsequently MPD.
To use it simply call it in your lemonbar script, for example:

echo "%{c}$(better-music.sh)" | lemonbar -p -B "#000" -F "#fff"

To change the progress completed colour change the value of $completion_color.
To change the paused colour change the value of $paused_color.
Must be a valid colour in lemonbar.

Todo