Compare commits

...

2 commits

Author SHA1 Message Date
24cddd91f5
Remove opacity rule for inactive windows 2025-08-22 00:34:16 +10:00
3e1df5315d
Add MPRIS to waybar 2025-08-19 15:38:52 +10:00
3 changed files with 21 additions and 4 deletions

View file

@ -166,10 +166,6 @@ window-rule {
inactive-color "#aa0000" inactive-color "#aa0000"
} }
} }
window-rule {
match is-active=false
opacity 0.9
}
window-rule { window-rule {
draw-border-with-background false draw-border-with-background false
} }

View file

@ -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

View file

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