Pause Hyprland reloads during settings updates

This commit is contained in:
Ryan Hughes
2026-06-09 14:20:36 -04:00
parent 9b8c9fd537
commit f79a231cc7
7 changed files with 244 additions and 8 deletions
+8
View File
@@ -151,6 +151,14 @@ sudo env OMARCHY_ALLOW_DIRECT_PACMAN=1 pacman -Syu
The guard does not start `omarchy update` itself because pacman is already in a
transaction setup path; it only aborts with instructions.
The `omarchy` package also installs ALPM hooks for `omarchy-settings` /
`omarchy-settings-dev` installs and upgrades. The pre-transaction hook runs
`omarchy-hyprland-reload-guard pause` to disable live Hyprland config reloads
while `/usr/share/omarchy/default/hypr/**` is replaced. The post-transaction
hook runs `omarchy-hyprland-reload-guard resume`, forces one `hyprctl reload`,
and restores the session's previous `misc.disable_autoreload` and
`debug.suppress_errors` values.
## Path 1: `omarchy update`
High-level flow: