mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
23 lines
476 B
Bash
Executable File
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
|