diff --git a/bin/omarchy-update b/bin/omarchy-update index 7df1551f..5299a197 100755 --- a/bin/omarchy-update +++ b/bin/omarchy-update @@ -20,8 +20,8 @@ echo # Offer to reboot if the kernel has been changed if [ "$(uname -r | sed 's/-arch/\.arch/')" != "$(pacman -Q linux | awk '{print $2}')" ]; then gum confirm "New Linux kernel requires reboot. Ready?" && omarchy-state clear re*-required && sudo reboot now -elif [ -f "$HOME/.local/state/omarchy/restart-required" ]; then - gum confirm "Updates require reboot. Ready?" && omarchy-state clear re*-required && uwsm stop +elif [ -f "$HOME/.local/state/omarchy/reboot-required" ]; then + gum confirm "Updates require reboot. Ready?" && omarchy-state clear re*-required && sudo reboot now elif [ -f "$HOME/.local/state/omarchy/relaunch-required" ]; then gum confirm "Updates require Hyprland relaunch. Ready?" && omarchy-state clear relaunch-required && uwsm stop fi