Files
omarchy/install.sh

23 lines
615 B
Bash
Raw Normal View History

2025-07-04 15:29:48 -07:00
# Exit immediately if a command exits with a non-zero status
set -e
# Give people a chance to retry running the installation
2025-07-18 17:33:51 -07:00
catch_errors() {
2025-07-18 17:17:42 -07:00
echo "Omarchy installation failed!"
echo "You can retry by running: source ~/.local/share/omarchy/install.sh"
echo "Get help from the community: https://discord.gg/tXFUdasqhY"
2025-07-18 17:33:51 -07:00
}
trap catch_errors ERR
2025-07-04 15:29:48 -07:00
2025-06-01 11:21:00 +02:00
# Install everything
for f in ~/.local/share/omarchy/install/*.sh; do
echo -e "\nRunning installer: $f"
source "$f"
done
2025-06-02 10:23:39 +02:00
2025-06-24 09:38:21 -07:00
# Ensure locate is up to date now that everything has been installed
sudo updatedb
2025-06-02 10:39:26 +02:00
gum confirm "Reboot to apply all settings?" && reboot