waybar: add max title length to MPRIS module

This commit is contained in:
Evie Litherland-Smith 2024-03-29 07:49:16 +00:00
parent c923221b79
commit bf5a8f7d28

View file

@ -82,8 +82,15 @@
mpris = { mpris = {
"format" = "| {player_icon} {status_icon} {artist} - {title}"; "format" = "| {player_icon} {status_icon} {artist} - {title}";
"tooltip-format" = "{player_icon} ({player}) {dynamic}"; "tooltip-format" = "{player_icon} ({player}) {dynamic}";
"title-len" = 48;
"interval" = 1; "interval" = 1;
"dynamic-order" = ["album" "artist" "title" "position" "length"]; "dynamic-order" = [
"album"
"artist"
"title"
"position"
"length"
];
"player-icons" = { "player-icons" = {
"default" = "󰲸 "; "default" = "󰲸 ";
"emms" = " "; "emms" = " ";