From e7f086370de72f7e40c7dfbada0efeead8548735 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Sun, 3 Aug 2025 06:07:54 -0400 Subject: [PATCH] Make repo configurable (#139) --- boot.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/boot.sh b/boot.sh index 9a79afc..9005487 100755 --- a/boot.sh +++ b/boot.sh @@ -16,9 +16,12 @@ echo -e "\n$ansi_art\n" 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/ -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 if [[ -n "$OMARCHY_REF" ]]; then