Add MPRIS module to waybar

This commit is contained in:
Wiktor Zykubek 2024-11-24 10:31:07 +01:00
parent 1222fc70f0
commit cb01a7fda1
2 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,7 @@
"modules-right": [ "modules-right": [
"tray", "tray",
"mpris",
"pulseaudio", "pulseaudio",
"network", "network",
"group/hardware", "group/hardware",
@ -109,5 +110,9 @@
}, },
"on-click": "pwvucontrol" "on-click": "pwvucontrol"
}, },
"mpris": {
"format": "{title} - {artist} ",
"format-paused": "{title} - {artist} "
}
} }
} }

View File

@ -39,6 +39,7 @@ tooltip {
#clock, #clock,
#workspaces, #workspaces,
#window, #window,
#mpris,
#pulseaudio, #pulseaudio,
#network, #network,
#tray, #tray,
@ -93,6 +94,10 @@ tooltip {
color: @gold; color: @gold;
} }
#mpris {
color: @foam;
}
#pulseaudio { #pulseaudio {
color: @iris; color: @iris;
} }