2025-06-01 11:21:00 +02:00
|
|
|
# Exit immediately if a command exits with a non-zero status
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Give people a chance to retry running the installation
|
|
|
|
trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR
|
|
|
|
|
|
|
|
# Install everything
|
2025-06-02 09:26:38 +02:00
|
|
|
for f in ~/.local/share/omarchy/install/*.sh; do source "$f"; done
|
|
|
|
|
|
|
|
# Copy over Omarchy configs
|
|
|
|
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
|
|
|
|
|
|
|
# Use default bashrc from Omarchy
|
|
|
|
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
|