Suppress Hyprland reload errors for the whole quattro upgrade

Suppression was enabled only after cleanup_legacy_user_paths had already
moved ~/.local/share/omarchy aside, so the live session could auto-reload
during the swap window and pop "source= globbing error: found no match"
for every legacy hyprland.conf source line. Enable suppression as the
first step of the upgrade sequence instead; the EXIT trap still restores
it if the upgrade dies early.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-20 11:45:23 -07:00
co-authored by Claude Fable 5
parent f96827c909
commit ff1d1c325e
+4 -1
View File
@@ -2238,6 +2238,10 @@ refresh_current_theme_after_upgrade() {
run_as_user_omarchy omarchy-restart-terminal >/dev/null 2>&1 || true
}
# Suppress live Hyprland reloads before anything touches the legacy config
# trees; the swap windows otherwise surface transient "source= globbing error"
# popups in the running session.
suppress_hyprland_config_reload
create_pre_upgrade_snapshot
configure_pacman_channel
install_keyrings
@@ -2252,7 +2256,6 @@ configure_lock_authentication
migrate_1password_beta_package
cleanup_legacy_user_paths
apply_system_transition
suppress_hyprland_config_reload
apply_user_transition
apply_user_hardware_transition
run_as_user_omarchy omarchy-refresh-applications