Files

26 lines
566 B
Bash
Executable File

#!/bin/bash
# archypr:summary=Run the full Omarchy update pipeline
# archypr:requires-sudo=true
set -e
# Ensure screensaver/sleep doesn't set in during updates
hyprctl dispatch tagwindow +noidle &>/dev/null || true
# Perform all update steps
archypr-pdate-keyring
archypr-pdate-available-reset
archypr-pdate-system-pkgs
archypr-igrate
archypr-pdate-aur-pkgs
archypr-pdate-orphan-pkgs
archypr-ook post-update
archypr-pdate-analyze-logs
archypr-pdate-restart
# Re-enable screensaver/sleep after updates
hyprctl dispatch tagwindow -- -noidle &>/dev/null || true