Add MPRIS to waybar

This commit is contained in:
pancakes 2025-08-19 15:38:52 +10:00
parent af6b859b2b
commit 3e1df5315d
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
2 changed files with 21 additions and 0 deletions

View file

@ -14,6 +14,7 @@
"clock"
],
"modules-right": [
"mpris",
"tray",
"idle_inhibitor",
"power-profiles-daemon",
@ -44,6 +45,15 @@
}
}
},
"mpris": {
"format": "♪ - {status_icon}{title}",
"format-stopped": "",
"tooltip-format": "{dynamic}",
"status-icons": {
"paused": "󰏤 "
},
"dynamic-separator": "\n"
},
"tray": {
"spacing": 4,
"reverse-direction": true

View file

@ -61,6 +61,7 @@ button:hover {
color: #15161e;
}
#mpris,
#clock,
#battery,
#network,
@ -154,4 +155,14 @@ label:focus {
#privacy-item {
padding: 0 2px;
color: #15161e;
}
#mpris.playing {
background-color: #9ece6a;
color: #15161e;
}
#mpris.paused {
background-color: #e0af68;
color: #15161e;
}