#!/bin/bash # omarchy:summary=Finish the installation of Omarchy with items that can only be done after logging in. # omarchy:requires-sudo=true set -e # Run user-level setup FIRST so its outcome (→ branding files, AI skill # symlinks, xdg dirs, etc.) isn't held hostage to whether one of the # privileged first-run steps below aborts under set -e. omarchy-setup-user # is idempotent and gated on its own marker. omarchy-setup-user || true FIRST_RUN_MODE=~/.local/state/omarchy/first-run.mode if [[ -f $FIRST_RUN_MODE ]]; then rm -f "$FIRST_RUN_MODE" bash "$OMARCHY_PATH/install/first-run/recover-internal-monitor.sh" bash "$OMARCHY_PATH/install/first-run/cleanup-reboot-sudoers.sh" bash "$OMARCHY_PATH/install/first-run/firewall.sh" bash "$OMARCHY_PATH/install/first-run/dns-resolver.sh" bash "$OMARCHY_PATH/install/first-run/gnome-theme.sh" bash "$OMARCHY_PATH/install/first-run/gtk-primary-paste.sh" omarchy-hook-install post-update "$OMARCHY_PATH/install/first-run/install-voxtype.hook" sudo /bin/rm -f /etc/sudoers.d/first-run bash "$OMARCHY_PATH/install/first-run/welcome.sh" bash "$OMARCHY_PATH/install/first-run/wifi.sh" fi