Files
arthur-os/bin/omarchy-reinstall-configs
T
Ryan Hughes 75cb4f7195 Make setup ISO-only
Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
2026-06-04 18:37:32 -04:00

23 lines
476 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Reset all Omarchy user configs to the defaults
# omarchy:requires-sudo=true
set -e
if (( EUID == 0 )); then
echo "Error: This script should not be run as root"
exit 1
fi
echo "Resetting all Omarchy configs"
omarchy-setup-user --force
omarchy-refresh-limine
omarchy-refresh-plymouth
if omarchy-cmd-present omarchy-nvim-refresh; then
omarchy-nvim-refresh
elif omarchy-cmd-present omarchy-nvim-setup; then
omarchy-nvim-setup --force
fi