Files
omarchy/bin/omarchy-reinstall
David Heinemeier Hansson 17968cb2d3 Offer to reboot after reinstall
2026-01-07 20:58:57 +01:00

15 lines
500 B
Bash
Executable File

#!/bin/bash
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
omarchy-reinstall-git
omarchy-reinstall-pkgs
omarchy-reinstall-configs
gum confirm "System has been reinstalled. Reboot?" && omarchy-cmd-reboot
fi