-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.sh
executable file
·59 lines (49 loc) · 1.16 KB
/
setup.sh
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
clear
# Some colors
GREEN='\033[0;32m'
NONE='\033[0m'
# Header
echo -e "${GREEN}"
cat <<"EOF"
____ _
/ ___| ___| |_ _ _ _ __
\___ \ / _ \ __| | | | '_ \
___) | __/ |_| |_| | |_) |
|____/ \___|\__|\__,_| .__/
|_|
EOF
echo "for ML4W Hyprland Settings App"
echo
echo -e "${NONE}"
echo "This script will download the ML4W Hyprland Settings App and start the installation."
echo
while true; do
read -p "DO YOU WANT TO START THE INSTALLATION NOW? (Yy/Nn): " yn
case $yn in
[Yy]* )
echo "Installation started."
echo
break;;
[Nn]* )
echo "Installation canceled."
exit;
break;;
* ) echo "Please answer yes or no.";;
esac
done
# Change into your Downloads directory
cd ~/Downloads
# Remove existing folder
if [ -d ml4w-hyprland-settings ] ;then
rm -rf ml4w-hyprland-settings
fi
if [ -d hyprland-settings ] ;then
rm -rf hyprland-settings
fi
# Clone the packages
git clone --depth 1 https://github.com/mylinuxforwork/hyprland-settings.git
# Change into the folder
cd hyprland-settings
# Start the script
./install.sh