forked from basecamp/omarchy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboot.sh
More file actions
executable file
·34 lines (26 loc) · 1.7 KB
/
boot.sh
File metadata and controls
executable file
·34 lines (26 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
ansi_art='
██████╗ ███╗ ███╗ █████╗ ██████╗ ██████╗ ██████╗ █████╗
██╔═══██╗████╗ ████║██╔══██╗██╔══██╗██╔═══██╗██╔══██╗██╔══██╗
██║ ██║██╔████╔██║███████║██║ ██║██║ ██║██████╔╝███████║
██║ ██║██║╚██╔╝██║██╔══██║██║ ██║██║ ██║██╔══██╗██╔══██║
╚██████╔╝██║ ╚═╝ ██║██║ ██║██████╔╝╚██████╔╝██║ ██║██║ ██║
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
🐧 Fedora + Hyprland Desktop Environment 🚀'
clear
echo -e "\n$ansi_art\n"
sudo dnf install -y git
# Use custom repo if specified, otherwise default to matoval/omadora
OMADORA_REPO="${OMADORA_REPO:-matoval/omadora}"
echo -e "\nCloning Omadora from: https://github.com/${OMADORA_REPO}.git"
rm -rf ~/.local/share/omadora/
git clone "https://github.com/${OMADORA_REPO}.git" ~/.local/share/omadora >/dev/null
# Use custom branch if instructed
if [[ -n "$OMADORA_REF" ]]; then
echo -e "\eUsing branch: $OMADORA_REF"
cd ~/.local/share/omadora
git fetch origin "${OMADORA_REF}" && git checkout "${OMADORA_REF}"
cd -
fi
echo -e "\nInstallation starting..."
source ~/.local/share/omadora/install.sh