Use full path for omarchy-update on waybar icon
This commit is contained in:
parent
7bb9214c66
commit
fe92a78f21
@ -52,7 +52,7 @@
|
||||
"custom/update": {
|
||||
"format": "",
|
||||
"exec": "~/.local/share/omarchy/bin/omarchy-update-available",
|
||||
"on-click": "alacritty --class Omarchy --title Omarchy -e omarchy-update",
|
||||
"on-click": "alacritty --class Omarchy --title Omarchy -e ~/.local/share/omarchy/bin/omarchy-update",
|
||||
"interval": 3600
|
||||
},
|
||||
"cpu": {
|
||||
|
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
|
Loading…
x
Reference in New Issue
Block a user