Files
omarchy/boot.sh

19 lines
496 B
Bash
Raw Normal View History

#!/bin/bash
sudo pacman -Sy --noconfirm --needed git
2025-06-01 11:21:00 +02:00
2025-06-17 10:05:19 +02:00
echo -e "\nCloning Omarchy..."
2025-06-01 11:21:00 +02:00
rm -rf ~/.local/share/omarchy/
git clone https://github.com/basecamp/omarchy.git ~/.local/share/omarchy >/dev/null
# Use custom branch if instructed
if [[ -n "$OMARCHY_REF" ]]; then
echo -e "\eUsing branch: $OMARCHY_REF"
cd ~/.local/share/omarchy
git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}"
cd -
fi
2025-06-17 10:05:19 +02:00
echo -e "\nInstallation starting..."
2025-06-01 11:21:00 +02:00
source ~/.local/share/omarchy/install.sh