Initial basics

This commit is contained in:
David Heinemeier Hansson
2025-06-01 11:21:00 +02:00
commit e8ee1204e6
19 changed files with 836 additions and 0 deletions

29
boot.sh Normal file
View File

@ -0,0 +1,29 @@
set -e
ascii_art=' ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄████████ ▄████████ ▄████████ ▄█ █▄ ▄██ ▄
███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ██▄
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▀ ███ ███ ███▄▄▄███
███ ███ ███ ███ ███ ███ ███ ▄███▄▄▄▄██▀ ███ ▄███▄▄▄▄███▄▄ ▀▀▀▀▀▀███
███ ███ ███ ███ ███ ▀███████████ ▀▀███▀▀▀▀▀ ███ ▀▀███▀▀▀▀███▀ ▄██ ███
███ ███ ███ ███ ███ ███ ███ ▀███████████ ███ █▄ ███ ███ ███ ███
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
▀██████▀ ▀█ ███ █▀ ███ █▀ ███ ███ ████████▀ ███ █▀ ▀█████▀
███ ███ '
echo -e "$ascii_art"
echo "=> Omarchy is for fresh Arch installations only!"
echo -e "\nBegin installation (or abort with ctrl+c)..."
sudo pacman -Sy --noconfirm git >/dev/null
echo "Cloning Omarchy..."
rm -rf ~/.local/share/omarchy/
git clone https://github.com/basecamp/omarchy.git ~/.local/share/omarchy >/dev/null
if [[ $OMARCHY_REF != "master" ]]; then
cd ~/.local/share/omarchy
git fetch origin "${OMARCHY_REF:-stable}" && git checkout "${OMARCHY_REF:-stable}"
cd -
fi
echo "Installation starting..."
source ~/.local/share/omarchy/install.sh