basecamp_omarchy/bin/omarchy-reinstall-configs
2026-01-05 11:00:56 +01:00

21 lines
497 B
Bash
Executable File

#!/bin/bash
set -e
# Overwrite all user configs with the Omarchy defaults.
if [ "$EUID" -eq 0 ]; then
echo "Error: This script should not be run as root"
exit 1
fi
echo "Resetting all Omarchy configs"
cp -R ~/.local/share/omarchy/config/* ~/.config/
cp ~/.local/share/omarchy/default/bashrc ~/.bashrc
echo '[[ -f ~/.bashrc ]] && . ~/.bashrc' | tee ~/.bash_profile >/dev/null
$(bash $OMARCHY_PATH/install/config/theme.sh)
omarchy-refresh-limine
omarchy-refresh-plymouth
omarchy-nvim-setup