Add MPRIS to waybar
This commit is contained in:
parent
af6b859b2b
commit
3e1df5315d
2 changed files with 21 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
"clock"
|
"clock"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"mpris",
|
||||||
"tray",
|
"tray",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"power-profiles-daemon",
|
"power-profiles-daemon",
|
||||||
|
@ -44,6 +45,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"mpris": {
|
||||||
|
"format": "♪ - {status_icon}{title}",
|
||||||
|
"format-stopped": "",
|
||||||
|
"tooltip-format": "{dynamic}",
|
||||||
|
"status-icons": {
|
||||||
|
"paused": " "
|
||||||
|
},
|
||||||
|
"dynamic-separator": "\n"
|
||||||
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"spacing": 4,
|
"spacing": 4,
|
||||||
"reverse-direction": true
|
"reverse-direction": true
|
||||||
|
|
|
@ -61,6 +61,7 @@ button:hover {
|
||||||
color: #15161e;
|
color: #15161e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#mpris,
|
||||||
#clock,
|
#clock,
|
||||||
#battery,
|
#battery,
|
||||||
#network,
|
#network,
|
||||||
|
@ -154,4 +155,14 @@ label:focus {
|
||||||
#privacy-item {
|
#privacy-item {
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
color: #15161e;
|
color: #15161e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpris.playing {
|
||||||
|
background-color: #9ece6a;
|
||||||
|
color: #15161e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpris.paused {
|
||||||
|
background-color: #e0af68;
|
||||||
|
color: #15161e;
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue