From 0af53da3eb2574ca23758e6658b7683bcee4d6da Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:29 +0100 Subject: style(waybar): swap obvious literal labels for Nerd Font glyphs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- dot_config/waybar/config.jsonc | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'dot_config/waybar/config.jsonc') diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc index c09eb1f..a27f8a4 100644 --- a/dot_config/waybar/config.jsonc +++ b/dot_config/waybar/config.jsonc @@ -103,9 +103,10 @@ }, "battery": { - "format": "BAT {capacity}%", - "format-charging": "CHR {capacity}%", - "format-plugged": "PLG {capacity}%", + "format": "{icon} {capacity}%", + "format-charging": "󰂄 {capacity}%", + "format-plugged": "󰚥 {capacity}%", + "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󰂂", "󰁹"], "states": { "warning": 30, "critical": 15, @@ -113,12 +114,15 @@ }, "pulseaudio": { - "format": "VOL {volume}%", - "format-low": "VOL {volume}%", - "format-medium": "VOL {volume}%", - "format-high": "VOL {volume}%", - "format-critical": "VOL {volume}%", - "format-muted": "MUTE", + "format": "{icon} {volume}%", + "format-low": "{icon} {volume}%", + "format-medium": "{icon} {volume}%", + "format-high": "{icon} {volume}%", + "format-critical": "{icon} {volume}%", + "format-muted": "󰖁", + "format-icons": { + "default": ["󰕿", "󰖀", "󰕾"], + }, "states": { "low": 0, "medium": 50, @@ -142,18 +146,18 @@ "idle_inhibitor": { "format": "{icon}", "format-icons": { - "activated": "INH", - "deactivated": "IDL", + "activated": "󰛑", + "deactivated": "󰛐", }, "tooltip": true, }, "bluetooth": { - "format": "BT on", - "format-disabled": "BT off", - "format-off": "BT off", - "format-connected": "BT {device_alias}", - "format-connected-battery": "BT {device_alias} {device_battery_percentage}%", + "format": "󰂯", + "format-disabled": "󰂲", + "format-off": "󰂲", + "format-connected": "󰂰 {device_alias}", + "format-connected-battery": "󰂰 {device_alias} {device_battery_percentage}%", "tooltip-format": "{controller_alias}\t{controller_address}", "tooltip-format-connected": "{controller_alias}\n{num_connections} connected\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", -- cgit v1.3.1