mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
25 lines
591 B
Bash
Executable File
25 lines
591 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Reset all Omarchy user configs to the defaults
|
|
# omarchy: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/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
|