5 stable releases
Uses new Rust 2024
| 1.1.2 | Aug 3, 2025 |
|---|---|
| 1.1.1 | Jul 31, 2025 |
| 1.0.1 | Jul 29, 2025 |
#155 in Audio
184 downloads per month
21KB
438 lines
polybar-mpris-watcher-rs
A good music status display for polybar.
It uses DBus to display the currently playing media. The text size and scrolling rate are configurable.
It supports extended unicode characters, parsing them by grapheme cluster.
Pass --(i)nclude-controls to include basic control buttons. This will shorten the display window such
that the overall width is --(b)anner-size.
Demo

Installation
polybar-mpris-watcher-rs is available on crates.io, and can be installed via cargo:
$ cargo install polybar-mpris-watcher-rs
You will need to add a polybar module which uses the installed binary. This is where configuration is done.
[module/music]
type = custom/script
exec = "polybar-mpris-watcher-rs -u 2000 -b 25"
tail = true
Add the module wherever in your polybar, e.g. in the middle:
modules-center = music
Font debugging
If you have trouble with some characters not displaying, give the polybar wiki page on fonts a read.
Dependencies
~6–16MB
~179K SLoC