25 lines
588 B
Bash
Executable File
25 lines
588 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# archypr:summary=Reset all Omarchy user configs to the defaults
|
|
# archypr:requires-sudo=true
|
|
|
|
set -e
|
|
|
|
# Overwrite all user configs with the Omarchy defaults.
|
|
|
|
if (( EUID == 0 )); then
|
|
echo "Error: This script should not be run as root"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Resetting all Omarchy configs"
|
|
cp -R ~/.local/share/archypr/config/* ~/.config/
|
|
cp ~/.local/share/archypr/default/bashrc ~/.bashrc
|
|
echo '[[ -f ~/.bashrc ]] && . ~/.bashrc' | tee ~/.bash_profile >/dev/null
|
|
|
|
$(bash $ARCHYPR_PATH/install/config/theme.sh)
|
|
|
|
archypr-efresh-limine
|
|
archypr-efresh-plymouth
|
|
archypr-vim-setup
|