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:
co-authored by
Claude Fable 5
parent
f96827c909
commit
ff1d1c325e
@@ -2238,6 +2238,10 @@ refresh_current_theme_after_upgrade() {
|
|||||||
run_as_user_omarchy omarchy-restart-terminal >/dev/null 2>&1 || true
|
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
|
create_pre_upgrade_snapshot
|
||||||
configure_pacman_channel
|
configure_pacman_channel
|
||||||
install_keyrings
|
install_keyrings
|
||||||
@@ -2252,7 +2256,6 @@ configure_lock_authentication
|
|||||||
migrate_1password_beta_package
|
migrate_1password_beta_package
|
||||||
cleanup_legacy_user_paths
|
cleanup_legacy_user_paths
|
||||||
apply_system_transition
|
apply_system_transition
|
||||||
suppress_hyprland_config_reload
|
|
||||||
apply_user_transition
|
apply_user_transition
|
||||||
apply_user_hardware_transition
|
apply_user_hardware_transition
|
||||||
run_as_user_omarchy omarchy-refresh-applications
|
run_as_user_omarchy omarchy-refresh-applications
|
||||||
|
|||||||
Reference in New Issue
Block a user