From e08ef5866a1d2d2cfc8cb2cda74f944ec4bd0ce2 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 6 Jan 2026 13:26:37 +0100 Subject: [PATCH] Ensure it only matches the module activation --- migrations/1767685679.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/1767685679.sh b/migrations/1767685679.sh index 721e749c..a4608c8f 100644 --- a/migrations/1767685679.sh +++ b/migrations/1767685679.sh @@ -19,7 +19,7 @@ fi # Add voxtype to modules-center if not present if ! grep -q "custom/voxtype" "$CONFIG_FILE" 2>/dev/null; then # Add to modules-center array - sed -i 's/"custom\/screenrecording-indicator"/"custom\/voxtype", "custom\/screenrecording-indicator"/' "$CONFIG_FILE" + 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"