Rely on a later restart of waybar

So we don't do it over and over again on a regular upgrade
This commit is contained in:
David Heinemeier Hansson
2025-11-21 18:12:53 +01:00
parent db7070f9d6
commit 597fcb8db8
4 changed files with 0 additions and 4 deletions

View File

@@ -4,5 +4,4 @@ WAYBAR_CONFIG="$HOME/.config/waybar/config.jsonc"
if [[ -f "$WAYBAR_CONFIG" ]] && ! grep -A5 '"custom/omarchy"' "$WAYBAR_CONFIG" | grep -q '"on-click-right"'; then
sed -i '/"on-click": "omarchy-menu",/a\ "on-click-right": "omarchy-launch-terminal",' "$WAYBAR_CONFIG"
omarchy-state set restart-waybar-required
fi