Home

Awesome

polycmus

Simple polybar script for showing what song is playing in cmus

Started as raytruong/polybar-cmus, but rewritten for these changes:

cmus-polybar

Configuration example

Change the icon color by editing the script, default value #444.

iconcolor="#444"

Add the script to polybar

[module/cmus]
type = custom/script

exec = ~/.config/polybar/cmus.sh
exec-if = pgrep -x cmus
interval = 1

click-left = cmus-remote --pause
scroll-down = cmus-remote --next
scroll-up = cmus-remote --prev

label-maxlen = 100