Complete upgrade-to-4 update flow

This commit is contained in:
Ryan Hughes
2026-06-15 11:27:54 -04:00
parent 227240d280
commit 2a7602a084
3 changed files with 135 additions and 1 deletions
+10
View File
@@ -1,4 +1,14 @@
state_dir="$HOME/.local/state/omarchy"
skip_update_notification_file="$state_dir/skip-first-run-update-notification"
skip_update_notification=0
if [[ -f $skip_update_notification_file ]]; then
skip_update_notification=1
rm -f "$skip_update_notification_file"
fi
notify_update() {
(( skip_update_notification )) && return 0
(
if [[ -n $(omarchy-notification-send -u critical -g  "Update System" "$1" -a) ]]; then
omarchy-launch-floating-terminal-with-presentation omarchy-update