initial commit
This commit is contained in:
20
bin/nomarchy-reinstall-configs
Executable file
20
bin/nomarchy-reinstall-configs
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Overwrite all user configs with the Nomarchy defaults.
|
||||
|
||||
if (( EUID == 0 )); then
|
||||
echo "Error: This script should not be run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Resetting all Nomarchy configs"
|
||||
cp -R ~/.local/share/nomarchy/config/* ~/.config/
|
||||
cp ~/.local/share/nomarchy/default/bashrc ~/.bashrc
|
||||
echo '[[ -f ~/.bashrc ]] && . ~/.bashrc' | tee ~/.bash_profile >/dev/null
|
||||
|
||||
$(bash $OMARCHY_PATH/install/config/theme.sh)
|
||||
|
||||
nomarchy-refresh-limine
|
||||
nomarchy-refresh-plymouth
|
||||
nomarchy-nvim-setup
|
||||
Reference in New Issue
Block a user