Do restart too and drop needless guard

This commit is contained in:
David Heinemeier Hansson
2026-07-25 07:18:30 -07:00
parent 896beb0c85
commit 657c427a78
+3 -1
View File
@@ -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