Skip to content

/u/WozarZ's cmus script, but I cleaned up issues relating to capturing artist name and string dump when no track is running.

Notifications You must be signed in to change notification settings

raytruong/polybar-cmus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

polybar-cmus

Basic cmus module for polybar

/u/WozarZ's cmus script, but I cleaned up issues relating to capturing artist name and string dump when no track is running.

[module/cmus]
type = custom/script

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

click-left = cmus-remote --next
click-right = cmus-remote --prev
click-middle = cmus-remote --pause
scroll-up = cmus-remote --volume +5%
scroll-down = cmus-remote --volume -5%

label-font = 3
format = <label>
format-underline = ${colors.foreground-alt}
label = %output%
label-maxlen = 50

About

/u/WozarZ's cmus script, but I cleaned up issues relating to capturing artist name and string dump when no track is running.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages