diff options
| author | 2026-05-13 13:43:29 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:29 +0100 | |
| commit | 0af53da3eb2574ca23758e6658b7683bcee4d6da (patch) | |
| tree | a6e9e28ada5adb2d16a070d770fe2845668d98d9 /dot_config/waybar/executable_wifi-status.sh | |
| parent | 4c5021e8af8f8b93c517949900e14f1d421d3f8e (diff) | |
| download | dotfiles-0af53da3eb2574ca23758e6658b7683bcee4d6da.tar.gz dotfiles-0af53da3eb2574ca23758e6658b7683bcee4d6da.tar.bz2 dotfiles-0af53da3eb2574ca23758e6658b7683bcee4d6da.zip | |
style(waybar): swap obvious literal labels for Nerd Font glyphs
Numeric/identity labels stay (CPU, MEM, °C, network arrows, clock).
Iconic labels are replaced with codepoints from ttf-noto-nerd:
battery BAT/CHR/PLG -> nf-md-battery_*, _charging, power_plug
(U+F0079..F0084, U+F06A5)
pulseaudio VOL/MUTE -> nf-md-volume_low/medium/high/off
(U+F057E..F0581)
bluetooth BT on/off -> nf-md-bluetooth/_off/_connect
(U+F00AF/B0/B2)
idle_inhib. INH/IDL -> nf-md-eye_off_outline/_outline
(U+F06D1, F06D0)
custom/wifi text only -> prefix nf-md-wifi/_off
(U+F05A9, F05AA)
custom/webcam CAM -> nf-md-camera (U+F0D5D)
custom/notif. NTF -> nf-md-bell_outline/_check_outline/_ring
(U+F009C, F11E8, F009E)
custom/tb MAIL -> nf-md-email/_alert (U+F01EE, F0D42)
style.css font-family widened from 'mono' to a declarative fallback
chain so glyph rendering doesn't depend on fontconfig auto-fallback.
Diffstat (limited to 'dot_config/waybar/executable_wifi-status.sh')
| -rwxr-xr-x | dot_config/waybar/executable_wifi-status.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_config/waybar/executable_wifi-status.sh b/dot_config/waybar/executable_wifi-status.sh index b0cd214..93b3048 100755 --- a/dot_config/waybar/executable_wifi-status.sh +++ b/dot_config/waybar/executable_wifi-status.sh @@ -10,7 +10,7 @@ iface=wlan0 svc=net.connman.iwd down() { - printf '{"text":"wifi off","class":"down"}\n' + printf '{"text":"","class":"down"}\n' exit 0 } @@ -46,5 +46,5 @@ color=$(awk -v p="$pct" 'BEGIN{ else print "#b8bb26" }') -printf '{"text":"%s <span color=\x27%s\x27>%s%%</span>","class":"up","tooltip":"%s · %s dBm"}\n' \ +printf '{"text":" %s <span color=\x27%s\x27>%s%%</span>","class":"up","tooltip":"%s · %s dBm"}\n' \ "$ssid" "$color" "$pct" "$iface" "$rssi" |
