Make repo configurable (#139)

This commit is contained in:
Ryan Hughes
2025-08-03 06:07:54 -04:00
committed by GitHub
parent 4c650e53de
commit e7f086370d

View File

@ -16,9 +16,12 @@ echo -e "\n$ansi_art\n"
sudo pacman -Sy --noconfirm --needed git sudo pacman -Sy --noconfirm --needed git
echo -e "\nCloning Omarchy..." # Use custom repo if specified, otherwise default to basecamp/omarchy
OMARCHY_REPO="${OMARCHY_REPO:-basecamp/omarchy}"
echo -e "\nCloning Omarchy from: https://github.com/${OMARCHY_REPO}.git"
rm -rf ~/.local/share/omarchy/ rm -rf ~/.local/share/omarchy/
git clone https://github.com/basecamp/omarchy.git ~/.local/share/omarchy >/dev/null git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/null
# Use custom branch if instructed # Use custom branch if instructed
if [[ -n "$OMARCHY_REF" ]]; then if [[ -n "$OMARCHY_REF" ]]; then