waybar: add max title length to MPRIS module
This commit is contained in:
parent
c923221b79
commit
bf5a8f7d28
|
@ -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" = " ";
|
||||||
|
|
Loading…
Reference in a new issue