From d20e8351fc8c83444f62f7d77575346cde332ddb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 7 Jan 2026 19:24:46 +0100 Subject: [PATCH] Don't show the voxtype icon when not recording/transcribing --- config/waybar/config.jsonc | 2 +- config/waybar/style.css | 4 ++++ migrations/1767685679.sh | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 71b41f54..9100b4ca 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -146,7 +146,7 @@ "return-type": "json", "format": "{icon}", "format-icons": { - "idle": "", + "idle": "", "recording": "󰍬", "transcribing": "󰔟" }, diff --git a/config/waybar/style.css b/config/waybar/style.css index c8315f66..19e934c2 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -87,3 +87,7 @@ tooltip { min-width: 12px; margin: 0 0 0 7.5px; } + +#custom-voxtype.recording { + color: #a55555; +} diff --git a/migrations/1767685679.sh b/migrations/1767685679.sh index 296e57a5..55c7baba 100644 --- a/migrations/1767685679.sh +++ b/migrations/1767685679.sh @@ -13,6 +13,10 @@ if ! grep -q "#custom-voxtype" "$STYLE_FILE"; then min-width: 12px; margin: 0 0 0 7.5px; } + +#custom-voxtype.recording { + color: #a55555; +} EOF fi @@ -22,7 +26,7 @@ if ! grep -q "custom/voxtype" "$CONFIG_FILE"; then sed -i 's/"custom\/screenrecording-indicator"]/"custom\/voxtype", "custom\/screenrecording-indicator"]/' "$CONFIG_FILE" # Add voxtype config block before tray config - sed -i '/"tray": {/i\ "custom/voxtype": {\n "exec": "omarchy-voxtype-status",\n "return-type": "json",\n "format": "{icon}",\n "format-icons": {\n "idle": "",\n "recording": "󰍬",\n "transcribing": "󰔟"\n },\n "tooltip": true,\n "on-click-right": "omarchy-voxtype-config",\n "on-click": "omarchy-voxtype-model"\n },' "$CONFIG_FILE" + sed -i '/"tray": {/i\ "custom/voxtype": {\n "exec": "omarchy-voxtype-status",\n "return-type": "json",\n "format": "{icon}",\n "format-icons": {\n "idle": "",\n "recording": "󰍬",\n "transcribing": "󰔟"\n },\n "tooltip": true,\n "on-click-right": "omarchy-voxtype-config",\n "on-click": "omarchy-voxtype-model"\n },' "$CONFIG_FILE" fi omarchy-restart-waybar