Files
omarchy/install.sh

28 lines
656 B
Bash
Raw Normal View History

#!/bin/bash
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:44:18 -07:00
echo -e "\n\e[31mOmarchy installation failed!\e[0m"
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
2025-07-18 17:17:42 -07:00
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
# Update all built-in packages
sudo pacman -Syu --noconfirm
reboot