Install Hyprland reload guard hooks

This commit is contained in:
Ryan Hughes
2026-06-09 14:20:41 -04:00
parent b17c6601e5
commit 097ffbf9bb
+5 -2
View File
@@ -115,10 +115,13 @@ package() {
install -d "$pkgdir/usr/share/omarchy"
# Guard direct pacman upgrades from bypassing the Omarchy update pipeline.
# Ship the hook with its Exec target so package skew cannot leave a broken
# Guard direct pacman upgrades from bypassing the Omarchy update pipeline,
# and pause Hyprland live config reloads while settings files are replaced.
# Ship hooks with their Exec targets so package skew cannot leave a broken
# hook pointing at a missing binary.
install -Dm644 default/libalpm/hooks/00-omarchy-update-guard.hook "$pkgdir/usr/share/libalpm/hooks/00-omarchy-update-guard.hook"
install -Dm644 default/libalpm/hooks/10-omarchy-hyprland-reload-pause.hook "$pkgdir/usr/share/libalpm/hooks/10-omarchy-hyprland-reload-pause.hook"
install -Dm644 default/libalpm/hooks/90-omarchy-hyprland-reload-resume.hook "$pkgdir/usr/share/libalpm/hooks/90-omarchy-hyprland-reload-resume.hook"
# Target-side setup scripts and package lists used by ISO finalization,
# first login, future users, migrations, and reinstall/reset commands.