Do restart too and drop needless guard
This commit is contained in:
@@ -2,7 +2,7 @@ echo "Move the bar indicators to the left of the clock"
|
|||||||
|
|
||||||
config_file="$HOME/.config/omarchy/shell.json"
|
config_file="$HOME/.config/omarchy/shell.json"
|
||||||
|
|
||||||
if [[ -s $config_file ]] && omarchy-cmd-present jq; then
|
if [[ -s $config_file ]]; then
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
jq '
|
jq '
|
||||||
def entry_id:
|
def entry_id:
|
||||||
@@ -37,3 +37,5 @@ if [[ -s $config_file ]] && omarchy-cmd-present jq; then
|
|||||||
.bar.layout.center |= place_indicators_before_clock
|
.bar.layout.center |= place_indicators_before_clock
|
||||||
' "$config_file" >"$tmp" && mv "$tmp" "$config_file" || rm -f "$tmp"
|
' "$config_file" >"$tmp" && mv "$tmp" "$config_file" || rm -f "$tmp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
omarchy-restart-shell
|
||||||
|
|||||||
Reference in New Issue
Block a user