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"
|
||||
],
|
||||
"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
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue