mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
waybar: restore audio glyphs and raise muted-state contrast
The pulseaudio module had empty strings where Nerd Font glyphs were meant to be, so the volume / mute / bluetooth indicators rendered blank. Re-inject the proper PUA codepoints (F027/F028 volume, F6A9 mute, F293 bluetooth). Bump #pulseaudio.muted from #3a3a46 to #8e8e9a so it stays readable against the bar background. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -74,9 +74,9 @@
|
|||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-muted": " muted",
|
"format-muted": " muted",
|
||||||
"format-bluetooth": "{icon} {volume}% ",
|
"format-bluetooth": "{icon} {volume}% ",
|
||||||
"format-icons": { "default": ["", "", ""] },
|
"format-icons": { "default": ["", "", ""] },
|
||||||
"on-click": "swayosd-client --output-volume mute-toggle",
|
"on-click": "swayosd-client --output-volume mute-toggle",
|
||||||
"on-click-right": "pavucontrol"
|
"on-click-right": "pavucontrol"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ window#waybar {
|
|||||||
#network { color: #4a90d9; }
|
#network { color: #4a90d9; }
|
||||||
#network.disconnected { color: #3a3a46; }
|
#network.disconnected { color: #3a3a46; }
|
||||||
#pulseaudio { color: #7dcfff; }
|
#pulseaudio { color: #7dcfff; }
|
||||||
#pulseaudio.muted { color: #3a3a46; }
|
#pulseaudio.muted { color: #8e8e9a; }
|
||||||
#battery { color: #d0d0d0; }
|
#battery { color: #d0d0d0; }
|
||||||
#battery.charging { color: #9ec07c; }
|
#battery.charging { color: #9ec07c; }
|
||||||
#battery.warning { color: #e0af68; }
|
#battery.warning { color: #e0af68; }
|
||||||
|
|||||||
Reference in New Issue
Block a user