2025-07-18 17:43:01 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
2025-07-25 16:49:29 -04:00
|
|
|
ansi_art=' ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄████████ ▄████████ ▄████████ ▄█ █▄ ▄██ ▄
|
|
|
|
███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ██▄
|
|
|
|
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▀ ███ ███ ███▄▄▄███
|
|
|
|
███ ███ ███ ███ ███ ███ ███ ▄███▄▄▄▄██▀ ███ ▄███▄▄▄▄███▄▄ ▀▀▀▀▀▀███
|
|
|
|
███ ███ ███ ███ ███ ▀███████████ ▀▀███▀▀▀▀▀ ███ ▀▀███▀▀▀▀███▀ ▄██ ███
|
|
|
|
███ ███ ███ ███ ███ ███ ███ ▀███████████ ███ █▄ ███ ███ ███ ███
|
|
|
|
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
|
|
|
|
▀██████▀ ▀█ ███ █▀ ███ █▀ ███ ███ ████████▀ ███ █▀ ▀█████▀
|
|
|
|
███ ███ '
|
|
|
|
|
|
|
|
clear
|
|
|
|
echo -e "\n$ansi_art\n"
|
|
|
|
|
2025-07-22 18:08:31 -04:00
|
|
|
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
|
|
|
|
|
2025-07-04 15:38:34 -07:00
|
|
|
# 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
|