#!/bin/bash # omarchy:summary=Restore Omarchy to the package install after reboot # omarchy:group=dev set -euo pipefail if (( EUID == 0 )); then echo "Error: run omarchy-dev-unlink as your user, not under sudo." >&2 exit 1 fi if [[ ${1:-} == "-h" || ${1:-} == "--help" ]]; then cat </dev/null echo "Pointed Omarchy at $default_target" echo if gum confirm "Reboot now to activate?"; then omarchy-system-reboot fi