mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Use full path for omarchy-update on waybar icon
This commit is contained in:
6
migrations/1754568612.sh
Normal file
6
migrations/1754568612.sh
Normal file
@@ -0,0 +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
|
||||
fi
|
||||
Reference in New Issue
Block a user