waybar: add artist and track info to MPRIS module, remove pipe from

window module
This commit is contained in:
Evie Litherland-Smith 2024-03-26 17:16:45 +00:00
parent dca956ccdc
commit dfbaa2c708

View file

@ -34,7 +34,7 @@
]; ];
# Module config # Module config
"hyprland/window" = { "hyprland/window" = {
"format" = "| {title}"; "format" = "{title}";
"rewrite" = { "rewrite" = {
"(.*) - GNU Emacs at (.*)" = " $1 [$2]"; "(.*) - GNU Emacs at (.*)" = " $1 [$2]";
"(Alacritty.*)" = " $1"; "(Alacritty.*)" = " $1";
@ -83,7 +83,7 @@
}; };
}; };
mpris = { mpris = {
"format" = "| {player_icon} {player}"; "format" = "| {player_icon} {status_icon} {artist} - {title}";
"tooltip-format" = "{player_icon} ({player}) {dynamic}"; "tooltip-format" = "{player_icon} ({player}) {dynamic}";
"interval" = 1; "interval" = 1;
"dynamic-order" = ["album" "artist" "title" "position" "length"]; "dynamic-order" = ["album" "artist" "title" "position" "length"];