https://github.com/raytruong/polybar-cmus
/u/WozarZ's cmus script, but I cleaned up issues relating to capturing artist name and string dump when no track is running.
https://github.com/raytruong/polybar-cmus
Last synced: 5 months ago
JSON representation
/u/WozarZ's cmus script, but I cleaned up issues relating to capturing artist name and string dump when no track is running.
- Host: GitHub
- URL: https://github.com/raytruong/polybar-cmus
- Owner: raytruong
- Created: 2018-08-11T03:04:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-26T20:20:38.000Z (almost 4 years ago)
- Last Synced: 2024-08-04T03:02:16.165Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 19
- Watchers: 1
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Polybar - Cmus
README
# 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.
```ini
[module/cmus]
type = custom/scriptexec = ~/.config/polybar/cmus.sh
exec-if = pgrep -x cmus
interval = 1click-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 =
format-underline = ${colors.foreground-alt}
label = %output%
label-maxlen = 50
```