mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 12:37:46 +00:00
Stop restarting waybar entirely on updates
This had problems and like this we also won't have an ugly flash
This commit is contained in:
@@ -7,4 +7,4 @@ omarchy-update-git
|
||||
omarchy-migrate
|
||||
omarchy-update-system-pkgs
|
||||
omarchy-update-restart
|
||||
omarchy-restart-waybar # removes update-available icon
|
||||
omarchy-update-available-reset
|
||||
|
||||
4
bin/omarchy-update-available-reset
Executable file
4
bin/omarchy-update-available-reset
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Ensure Waybar icon offering the available update is removed
|
||||
pkill -RTMIN+7 waybar
|
||||
@@ -48,6 +48,7 @@
|
||||
"exec": "omarchy-update-available",
|
||||
"on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update",
|
||||
"tooltip-format": "Omarchy update available",
|
||||
"signal": 7,
|
||||
"interval": 3600
|
||||
},
|
||||
|
||||
|
||||
5
migrations/1757512135.sh
Normal file
5
migrations/1757512135.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
echo "Make it possible to remove update-available icon with signal in Waybar"
|
||||
|
||||
if ! grep -q '"signal": 7' ~/.config/waybar/config.jsonc; then
|
||||
sed -i '/"tooltip-format": "Omarchy update available",/a\ "signal": 7,' ~/.config/waybar/config.jsonc
|
||||
fi
|
||||
Reference in New Issue
Block a user