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:
Fabio Scotto di Santolo
2026-05-16 22:09:16 +02:00
parent b7c1cb4482
commit 85bf7cfd03
2 changed files with 4 additions and 4 deletions

View File

@@ -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"
}, },

View File

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