Sometimes we don't want to display a long module in the waybar. Sometimes we have space of a certain size. Before seeing this project, I used playerctl to solve the problem like this:
playerctl metadata --follow --format '{{ status }} {{ trunc(title,8) }} | {{ trunc(artist,8) }}' | sed -u 's/Playing//;s/Paused//;s/ | $//'
And playerctl can use trunc to change the length of the output string. I hope this project will have those options as well.
Im currently a bit busy with stuff but the testing branch has some config stuff and the ability to scroll text so it only takes up 10 or what ever you want characters
Sometimes we don't want to display a long module in the waybar. Sometimes we have space of a certain size. Before seeing this project, I used playerctl to solve the problem like this:
And playerctl can use trunc to change the length of the output string. I hope this project will have those options as well.