Files

19 lines
605 B
Bash
Executable File

#!/bin/bash
# archypr:summary=Reinstall Omarchy packages and reset default configs
# archypr:requires-sudo=true
set -e
# Attempt to reinstall all default Omarchy packages and reset all the default configs.
echo -e "This will reinstall all the default Omarchy packages and reset all default configs.\nWarning: All user changes to configs will be lost.\n"
if gum confirm "Are you sure you want to reinstall and lose all config changes?"; then
archypr-reinstall-git
archypr-reinstall-pkgs
archypr-reinstall-configs
gum confirm "System has been reinstalled. Reboot?" && archypr-system-reboot
fi