Set max length for audio stuff

This commit is contained in:
RealStickman 2020-12-11 17:37:57 +01:00
parent da70787118
commit 1ceccda371

View File

@ -94,7 +94,7 @@ content = " "
type = custom/script
format-foreground = ${colors.foreground}
format-background = ${colors.modbackground}
exec = ~/.config/polybar/scripts/player-mpris-tail.py -f '{icon} {artist} - {title}'
exec = ~/.config/polybar/scripts/player-mpris-tail.py -f '{icon} {:artist:t5:{artist}:}{:artist: - :}{:t10:{title}:}'
tail = true
click-left = ~/.config/polybar/scripts/player-mpris-tail.py play-pause &
click-right = ~/.config/polybar/scripts/player-mpris-tail.py next &