Rely on Omarchy bin being part of PATH everywhere

This commit is contained in:
David Heinemeier Hansson
2025-08-10 20:30:39 +02:00
parent 7e28038687
commit 86c967352b
54 changed files with 108 additions and 108 deletions

View File

@@ -1,6 +1,6 @@
echo "Update Waybar config to fix path issue with update-available icon click"
if grep -q "alacritty --class Omarchy --title Omarchy -e omarchy-update" ~/.config/waybar/config.jsonc; then
sed -i 's|\("on-click": "alacritty --class Omarchy --title Omarchy -e \)omarchy-update"|\1~/.local/share/omarchy/bin/omarchy-update"|' ~/.config/waybar/config.jsonc
~/.local/share/omarchy/bin/omarchy-restart-waybar
sed -i 's|\("on-click": "alacritty --class Omarchy --title Omarchy -e \)omarchy-update"|\1omarchy-update"|' ~/.config/waybar/config.jsonc
omarchy-restart-waybar
fi