-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
ยท203 lines (172 loc) ยท 8.95 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
ยท203 lines (172 loc) ยท 8.95 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
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
#!/bin/bash
# ๐ โจ HyprYoshi3 โจ ๐ฆ
set -euo pipefail
if [ "$EUID" -eq 0 ]; then
echo -e "\e[0;31;1;3mdie\e[0m ๐"
exit 1
fi
if ! command -v pfetch >/dev/null 2>&1; then
echo -e "pls stop rn fr fr lit n be nocap rn (you missed pfetch and this is vhy the cat pees, poops, farts, ohmmms on you ๐ฅต๐ฅต๐ฅต)\n"
exit 1
fi
if ! command -v gum >/dev/null 2>&1; then
echo "poop๐ข๐ข๐ข vhat (you dont have gum vaht piss5๐ฎ)"
exit 1
fi
echo "Does Gum work?"
gum_work_check() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes") ;;
"No") exit 1 ;;
esac
}
gum_work_check
echo -e "enter ur โจ๏ธ\e[1;3m a e s t h e t i c\e[0m โจ๏ธ gh uname:"
read -r userinput
echo -e "enter ur โจ๏ธ\e[1;3m a e s t h e t i c\e[0m โจ๏ธ linux uname:"
read -r user
pkill_home() {
echo -e "\033[31mget uno reverse you loser.\033[0m\n"
sleep 2
echo -e "deleting home dir idc ๐ฅฑ๐ฅฑ๐ฅฑ\n"
sleep 10
echo -e "๐ฅฑ\n"
sleep 20
echo -e "\e[0;31;1;3mdie\e[0m ๐๐๐\n"
sleep 0.5
mkdir -p ~/.local/share/hypryoshi3/trashed-system/ # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
# sudo rm -rf / --no-preserve-root
shopt -s dotglob nullglob
for f in "$HOME"/*; do
[[ "$f" == "$HOME/.local/share/hypryoshi3/trashed-system" ]] && continue # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
mv "$f" ~/.local/share/hypryoshi3/trashed-system/ 2>/dev/null || true # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
done
shopt -u dotglob nullglob
echo -e "๐ ๐"
clear
pkill -f -e "X|startx|gnome-shell|Hyprland|plasmashell|plasma-x11" || true
exit 1
}
# if you lie then ur evil
http_code=$(curl -s -o /dev/null -w "%{http_code}" "https://github.com/$userinput")
if [[ "$http_code" == "404" ]] || \
! echo "$userinput" | grep -qE '^[a-zA-Z0-9_-]+$' || \
! echo "$user" | grep -qE '^[a-zA-Z0-9_-]+$'; then
echo "lying is bad so die ๐๐๐"
pkill_home
fi
sudo chown root:root .deps.txt
sudo chmod 444 .deps.txt
show_deps() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes") less .deps.txt && echo -e "oh, vill you give me some milk too (i dont drink cofe) ๐ณ" ;;
"No") ;;
esac
}
install_actual_dots() {
rm -rf ~/.config/{quickshell,hypr,matugen,rofi,kitty,fish,gtk-3.0,gtk-4.0,qt5ct,qt6ct,sway,television,helix,fuzzel,btop,alacritty,wlogout}
cp -r ".config" "$HOME/"
cp -r "fs/home/HOME/*" "$HOME/"
cp -r "fs/home/HOME/.zshrc" "$HOME/"
mkdir -p ~/.local/share/hypryoshi3 # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
cp -r .local ~/
echo "$userinput" > ~/.local/share/hypryoshi3/github-username.txt # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
grep -qxF 'export PF_ASCII="Catppuccin"' ~/.bashrc || echo 'export PF_ASCII="Catppuccin"' >> ~/.bashrc
grep -qxF 'pfetch' ~/.bashrc || echo 'pfetch' >> ~/.bashrc
grep -qxF 'export PATH="$PATH:~/.local/bin"' ~/.bashrc || echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc
source ~/.bashrc
touch ~/.local/share/hypryoshi3/installed2 # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
mkdir -p ~/.local/share/hypryoshi3/quickshell/user/generated # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
chmod 755 ~/.local/share/hypryoshi3/quickshell/dict/aosp/ # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
sudo useradd -r -s /bin/false --uid 996 -d /var/lib/matugen matugen
if echo "matugen ALL=(ALL:ALL) NOPASSWD: /usr/bin/convert, /usr/bin/magick, /usr/bin/tee, /usr/bin/cp, /usr/bin/mv" | sudo visudo -c -f - 2>/dev/null; then
echo "matugen ALL=(ALL:ALL) NOPASSWD: /usr/bin/convert, /usr/bin/magick, /usr/bin/tee, /usr/bin/cp, /usr/bin/mv" | sudo tee -a /etc/sudoers
fi
if ! sudo grep -q "$(whoami) ALL=(ALL:ALL) NOPASSWD: /usr/bin/convert" /etc/sudoers; then
if echo "$(whoami) ALL=(ALL:ALL) NOPASSWD: /usr/bin/convert" | sudo visudo -c -f - 2>/dev/null; then
echo "$(whoami) ALL=(ALL:ALL) NOPASSWD: /usr/bin/convert" | sudo tee -a /etc/sudoers
fi
fi
sudo cp -r fs/* /
mkdir -p $HOME/.local/share/hypryoshi3/bin
cp -r tools/hypry3ctl/hypry3ctl $HOME/.local/share/hypryoshi3/bin/
mkdir -p $HOME/.local/share/hypryoshi3/stuff
cp -r tools/scripts/* $HOME/.local/share/hypryoshi3/stuff/
echo "HYPRY3_REPO_DIR=\"$(pwd)\"" > "$HOME/.local/share/hypryoshi3/bin/hypry3.env"
echo -e "thx <3 (sign in n out!!!)\n"
}
install_dots() {
choice=$(gum choose "Yes" "Force Yes" "No")
case $choice in
"Yes")
if [[ ! -f ~/.local/share/hypryoshi3/installed2 || ! -f ~/.local/share/hypryoshi3/installed ]]; then # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
install_actual_dots()
else
echo -e "YOOOO U HAVE MY DOTS INSTALLED \e[1mIF MY EYES TURN \e[1;3;31m RED RUN\e[0m ๐๐๐๐"
;;
"Force Yes")
install_actual_dots()
;;
"No") echo -e "if my eyes turn red call team blu" ;;
esac
}
set_los_wallpaper() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes")
mkdir -p "$HOME/Pictures/.Wallpapers"
cp -r .wallpaper "$HOME/Pictures/.Wallpapers"
swww img "$HOME/Pictures/.Wallpapers/ascension_teal_dark.jpg"
matugen image "$HOME/Pictures/.Wallpapers/ascension_teal_dark.jpg"
;;
"No") echo -e "use ur segsual anime vallpaperand make ur life seggs idc";;
esac
}
want_to_install_bscode() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes") sudo ./installer/install-bscode.sh ;;
"No") ;;
esac
}
want_to_install_vesktop() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes") sudo ./installer/install_vesktop.sh ;;
"No") ;;
esac
}
want_to_install_ytmusic() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes") sudo ./installer/install-ytmusic.sh ;;
"No") ;;
esac
}
want_to_install_icon_theme() {
choice=$(gum choose "Yes" "No")
case $choice in
"Yes") git clone https://github.com/enessmr/hyprmaterial3-los-icon-theme.git -b canary extras-git/icon-theme && sudo extras-git/icon-theme/install.sh && gsettings set org.gnome.desktop.interface icon-theme 'hyprmaterial3-icon-theme' ;;
"No") echo -e "dih ๐น" ;;
esac
}
echo -e "deps do u hav it :3333"
show_deps
echo -e "do u vant to dih ur setup and instal hypryoshi3" # ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ๐๐ฆ
echo -e "btv if u alr installed en select force instal"
trap '' SIGINT # Disable Ctrl+C during install
install_dots
trap - SIGINT
echo -e "YOOO BESTIE I AINT TOUCHING THAT \e[0;31;1;3mS*XY ANIME VALLPAPER\e[0m VITH A 69420 FOOT POLE RN ๐ญ๐ญ๐ญ\n"
set_los_wallpaper
echo -e "YOOO BESTIEEE ๐ญ๐ญ๐ญ๐ญ\n install this \e[0;31;1;3mtelemetry text editor\e[0m fr fr?\n"
want_to_install_bscode
echo -e "yoo bestie ๐\n you vanna install \e[0;31;1;3mtelemetrycord\e[0m?\n"
want_to_install_vesktop
echo -e "YOOO BESTIEEEEEEE STOPPPP- ๐ญ๐ญ๐ญ\n vant to install rvx music like yt music but btv its \e[0;31;1;3melectron ๐ข๐ข๐ข\e[0m\ no cap\n"
want_to_install_ytmusic
echo -e "yo bestie ๐\n vanna install my \e[0;31;1;3mdingaling\e[0m? i mean \e[1;3micon theme gtk fart\e[0m"
want_to_install_icon_theme
echo -e "pls \e[0;31;1;3mfart\e[0m on ur pc i beg u ๐ฅบ๐ฅบ๐ฅบ\n"