diff --git a/migrations/1784989000.sh b/migrations/1784989000.sh index a0fc8760..3f806b6f 100644 --- a/migrations/1784989000.sh +++ b/migrations/1784989000.sh @@ -2,7 +2,7 @@ echo "Move the bar indicators to the left of the clock" config_file="$HOME/.config/omarchy/shell.json" -if [[ -s $config_file ]] && omarchy-cmd-present jq; then +if [[ -s $config_file ]]; then tmp=$(mktemp) jq ' def entry_id: @@ -37,3 +37,5 @@ if [[ -s $config_file ]] && omarchy-cmd-present jq; then .bar.layout.center |= place_indicators_before_clock ' "$config_file" >"$tmp" && mv "$tmp" "$config_file" || rm -f "$tmp" fi + +omarchy-restart-shell