-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsyscopy.sh
executable file
·336 lines (293 loc) · 7.68 KB
/
syscopy.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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
#!/bin/bash
##---------##
## Credits ##
##---------##
echo "---"
echo "Created by: BIGBEASTISHANK"
echo "Version 3.2.1"
echo "---"
sleep 5
##-----------------##
## Installing paru ##
##-----------------##
if which paru >/dev/null 2>&1; then
echo "Paru already installed, skipping installation."
echo "---"
else
echo "Installing paru..."
echo "---"
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
cd ../
rm -rf paru
fi
##-----------------##
## Updating system ##
##-----------------##
echo "Updating the system..."
sleep 0.5
paru
##---------------------------##
## Installing BlackArch Repo ##
##---------------------------##
function InstallBlackArchRepo(){
curl -O https://blackarch.org/strap.sh
chmod +x strap.sh
sudo ./strap.sh
paru
}
InstallBlackArchRepo
##------------------##
## Adding bin files ##
##------------------##
echo "---"
echo "Adding bin files..."
sleep 1
function BinFiles() {
chmod +x ./bin/*
sudo cp ./bin/* /usr/bin/
}
BinFiles
##-------------------##
## Setting up config ##
##-------------------##
echo "---"
echo "Setting up configs..."
echo "---"
sleep 1.2
function SettingUpConfigs() {
# Alacritty
echo ""
echo "##-----------##"
echo "## Alacritty ##"
echo "##-----------##"
echo ""
paru -S alacritty
mkdir ~/.config/alacritty/
cp ./config/alacritty/* ~/.config/alacritty/
# Bspwm
echo ""
echo "##-------##"
echo "## Bspwm ##"
echo "##-------##"
echo ""
paru -S bspwm
mkdir ~/.config/bspwm/
chmod +x ./config/bspwm/*
cp ./config/bspwm/* ~/.config/bspwm/
# Dunst
echo ""
echo "##-------##"
echo "## Dunst ##"
echo "##-------##"
echo ""
paru -S dunst
mkdir ~/.config/dunst/
chmod +x ./config/dunst/*
cp ./config/dunst/* ~/.config/dunst/
# Fastfetch
echo ""
echo "##-----------##"
echo "## Fastfetch ##"
echo "##-----------##"
echo ""
paru -S fastfetch
mkdir ~/.config/fastfetch/
cp ./config/fastfetch/* ~/.config/fastfetch/
# Fish
echo ""
echo "##------##"
echo "## Fish ##"
echo "##------##"
echo ""
paru -S fish
mkdir ~/.config/fish/
cp ./config/fish/* ~/.config/fish/
# Nvim
echo ""
echo "##--------##"
echo "## Neovim ##"
echo "##--------##"
echo ""
paru -S neovim
mkdir ~/.config/nvim/
cp ./config/nvim/* ~/.config/nvim/
# Picom
echo ""
echo "##-------##"
echo "## Picom ##"
echo "##-------##"
echo ""
paru -S picom
mkdir ~/.config/picom/
cp ./config/picom/* ~/.config/picom/
# Polybar
echo ""
echo "##---------##"
echo "## Polybar ##"
echo "##---------##"
echo ""
paru -S polybar
mkdir ~/.config/polybar/
chmod +x ./config/polybar/*
cp ./config/polybar/* ~/.config/polybar/
# Rofi
echo ""
echo "##------##"
echo "## Rofi ##"
echo "##------##"
echo ""
paru -S rofi
mkdir ~/.config/rofi/
cp ./config/rofi/* ~/.config/rofi/
# Sxhkd
echo ""
echo "##-------##"
echo "## Sxhkd ##"
echo "##-------##"
echo ""
paru -S sxhkd
mkdir ~/.config/sxhkd/
chmod +x ./config/sxhkd/*
cp ./config/sxhkd/* ~/.config/sxhkd/
# Vencord
echo ""
echo "##---------##"
echo "## Vencord ##"
echo "##---------##"
echo ""
mkdir ~/.config/Vencord/
cp -r ./config/Vencord/* ~/.config/Vencord/
echo "Vencord themes setup done..."
}
SettingUpConfigs
##-----------------------##
## Setting up wallpapers ##
##-----------------------##
echo "---"
echo "Setting up wallpaper..."
echo "---"
mkdir ~/Pictures/
cp -r ./Wallpaper/ ~/Pictures/
##--------##
## Themes ##
##--------##
echo "Adding themes to respective places..."
echo "---"
sleep 0.5
function SettingUpThemes() {
# Fonts
echo "Installing fonts..."
paru -S ttf-font-awesome noto-fonts noto-fonts-emoji
# Cursor
echo "---"
echo "Coping Cursors.."
sudo cp -r ./Themes/Cursor/* /usr/share/icons/
echo "gtk-cursor-theme-name=Bibata-Rainbow-Modern" >> /home/$USER/.config/gtk-3.0/settings.ini
sleep 0.3
# Grub thems
echo "Setting grub theme.."
sudo cp -r ./Themes/Grub\ Theme/darkmatter/ /boot/grub/themes/
sudo cp -r ./Themes/Grub\ Theme/darkmatter/ /usr/share/grub/themes/
paru -S grub-customizer
# Icons
echo "---"
echo "Coping Icons.."
sudo tar xvf ./Themes/Icons/candy-icons.tar -C /usr/share/icons/
# SDDM Theme
echo "Setting sddm themes"
sleep 0.5
paru -S sddm sddm-sugar-candy-git qt5-quickcontrols2
sudo cp -r ./Themes/SDDM\ Theme/sugar-candy-custom/ /usr/share/sddm/themes/
sudo cp ./Themes/SDDM\ Theme/sddm.conf /etc/
sudo systemctl enable sddm
# System Themes
echo "---"
echo "Setting system themes"
sleep 0.5
paru -S kvantum kvantum-qt5 lxappearance qt5ct qt6ct
sudo cp -r ./Themes/System\ Theme/GTK/* /usr/share/themes/
paru -S dracula-gtk-theme
mkdir ~/.config/Kvantum
cp -r ./Themes/System\ Theme/Kvantum/* ~/.config/Kvantum/
paru -S kvantum-theme-dracula-git
}
SettingUpThemes
##----------------------------------##
## Installing Important Application ##
##----------------------------------##
echo "---"
echo "Installing Important packages..."
function InstallingImportantPackages() {
paru -S gvfs gvfs-mtp gvfs-smb less man base-devel htop
paru -S alsa-utils pipewire pipewire-alsa pipewire-jack pipewire-pulse
paru -S pcmanfm brave-bin gnome-calculator-gtk3 nitrogen pavucontrol
paru -S flameshot rofi-greenclip xorg-xsetroot network-manager-applet gpick
paru -S xfce-polkit gnome-keyring selectdefaultapplication-git
paru -S rofi-greenclip xorg-xinput xorg-xkill bat xclip rofi-emoji
}
InstallingImportantPackages
##------------------------------##
## Installing Extra Application ##
##------------------------------##
function InstallingExtrasPackages() {
paru -S discord
echo ""
echo "Installing vencord, Please follow the instruction.."
echo "---"
sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
paru -S virtualbox virtualbox-host-modules-arch anytype-bin kdenlive audacity signal-desktop
paru -S blender obs-studio simplescreenrecorder vlc stacer-bin
paru -S gnome-text-editor hourglass eog proton-vpn-gtk-app file-roller vscodium-bin
paru -S visual-studio-code-bin cava nvidia nvidia-settings nvidia-utils
paru -S optimus-manager-qt-git gparted scrcpy veracrypt ventoy-bin
}
# Prompt the user for confirmation
echo ""
echo "---"
read -p "Do you want to install the extra softwares? (yes/no): " answer
# Convert the answer to lowercase for easier comparison
answer=${answer,,}
# Check if the user agrees (yes)
if [[ "$answer" == "yes" ]]; then
InstallingExtrasPackages
else
echo "---"
echo "Skipping installation.."
fi
##-----------##
## Finishing ##
##-----------##
echo "---"
echo "Finishing........"
echo "---"
sleep 1
function Finishing() {
# Setting enviorment files
echo "Setting enviorment files.."
sudo sh -c 'cat ./Themes/System\ Theme/enviroment >> /etc/environment'
sleep 2
# Setting ntp auto time
echo ""
echo "Setting ntp auto time"
paru -S ntp
sudo systemctl enable --now ntpd
sudo timedatectl set-ntp true
}
Finishing
##------##
## Note ##
##------##
function Note(){
clear
echo "---"
echo Note:
echo "Themes: When you restart your system, run lxappearance, kvantum-manager and set theme to dracula, icons to candy-icons, cursor to bibata-rainbot-modern"
echo ""
echo "Grub: After setting themes, run grub-customizer and set theme to dark matter"
echo ""
echo "Reboot for changes to take place"
echo "---"
}
Note