From ff1d1c325ed1243b7d6f1814598d77376deeeb66 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 20 Jul 2026 11:45:23 -0700 Subject: [PATCH] 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 --- bin/omarchy-upgrade-to-quattro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-upgrade-to-quattro b/bin/omarchy-upgrade-to-quattro index 692f949f..03c7394c 100755 --- a/bin/omarchy-upgrade-to-quattro +++ b/bin/omarchy-upgrade-to-quattro @@ -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