mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Initial basics
This commit is contained in:
29
boot.sh
Normal file
29
boot.sh
Normal 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
|
Reference in New Issue
Block a user