initial commit

This commit is contained in:
Bernardo Magri
2026-04-01 17:06:01 +01:00
parent 12cdfaeeef
commit 33deeb494b
526 changed files with 12287 additions and 1 deletions

26
bin/nomarchy-update-perform Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
set -e
# Ensure screensaver/sleep doesn't set in during updates
hyprctl dispatch tagwindow +noidle &>/dev/null || true
# Capture update logs (CLICOLOR_FORCE keeps gum styled when stdout is piped through tee)
export CLICOLOR_FORCE=1
exec > >(tee "/tmp/nomarchy-update.log") 2>&1
# Perform all update steps
nomarchy-update-keyring
nomarchy-update-available-reset
nomarchy-update-system-pkgs
nomarchy-migrate
nomarchy-update-aur-pkgs
nomarchy-update-orphan-pkgs
nomarchy-hook post-update
nomarchy-update-analyze-logs
nomarchy-update-restart
# Re-enable screensaver/sleep after updates
hyprctl dispatch tagwindow -- -noidle &>/dev/null || true