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"