-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.sh
executable file
·97 lines (79 loc) · 3.13 KB
/
install.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
#!/bin/bash
echo "FireStreaker2's dotfiles"
ISYAY=/sbin/yay
if [ -f "$ISYAY" ]; then
echo -e "yay was located, moving on.\n"
yay
else
echo -e "yay was not located, please install yay. Exiting.\n"
exit
fi
read -n1 -rep "Would you like to install required packages? (y,n)" INST
if [[ $INST == "Y" || $INST == "y" ]]; then
yay -S --noconfirm hyprland kitty waybar \
wofi cava fish hypridle hyprlock wlogout thunar \
ttf-jetbrains-mono-nerd noto-fonts-emoji \
polkit-gnome python-requests starship \
swappy grim slurp pamixer brightnessctl gvfs \
bluez bluez-utils neofetch neovim swaync \
xdg-desktop-portal-hyprland sddm blueman \
nm-connection-editor wl-clipboard swaybg \
swayosd-git network-manager-applet wofi-emoji \
alsa-utils networkmanager-dmenu-git \
ttf-font-awesome adwaita-icon-theme
yay -R --noconfirm xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-kde
echo "Packages have been installed!"
fi
read -n1 -rep "Would you like to copy config files? (y,n)" CFG
if [[ $CFG == "Y" || $CFG == "y" ]]; then
cp -R cava ~/.config/
cp -R fastfetch ~/.config/
cp -R fish ~/.config/
cp -R gtk* ~/.config/
cp -R hypr ~/.config/
cp -R kitty ~/.config/
cp -R neofetch ~/.config/
cp -R nvim ~/.config/
cp -R swaync ~/.config/
cp -R vis ~/.config/
cp -R waybar ~/.config/
cp -R wlogout ~/.config/
cp -R wofi ~/.config/
cp code-flags.conf ~/.config/
cp gtkrc ~/.config/
cp starship.toml ~/.config/
cp -R Pictures ~/
git clone https://github.com/FireStreaker2/BlueGTK.git ~/BlueGTK
mv ~/BlueGTK /usr/share/themes/
chmod +x ~/.config/hypr/xdg-portal-hyprland
chmod +x ~/.config/waybar/mediaplayer.py
fi
read -n1 -rep "Would you like to install the Gura SDDM theme? (y,n)" SDDM
if [[ $SDDM == "Y" || $SDDM == "y" ]]; then
git clone https://github.com/FireStreaker2/Gura-SDDM.git ~/Gura-SDDM
mv ~/Gura-SDDM /usr/share/sddm/themes/
sed -i "s/^Current=.*$/Current=gura-sddm/" /etc/sddm.conf
echo -e "Succesfully set the SDDM theme!\n"
fi
read -n1 -rep "Would you like to install the main programs I use? (Chrome, Spotify, Discord, VSCode, etc) (y,n)" PRO
if [[ $PRO == "Y" || $PRO == "y" ]]; then
yay -S --noconfirm google-chrome \
spotify spicetify-cli discord \
visual-studio-code-bin
sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
cp -R spicetify ~/.config/spicetify
cp -R Vencord ~/.config/vencord
echo -e "Programs have been installed! In order to finish setting them up, please do the following:\nChrome: Upload Gawr+Gura+Blue.zip to chrome://extensions\nSpotify: Run spicetify --help to get started\nVSCode: Download the Winter is Coming theme"
fi
read -n1 -rep "Would you like to change your default shell to fish? (y,n)" SHL
if [[ $SHL == "Y" || $SHL == "y" ]]; then
chsh --shell=/usr/bin/fish $USER
echo -e "Succesfully changed shell! Note that you may have to reboot in order for changes to apply.\n"
fi
echo -e "Installation has succesfully finished.\n"
read -n1 -rep "Would you like to start Hyprland now? (y,n)" HYP
if [[ $HYP == "Y" || $HYP == "y" ]]; then
exec Hyprland
else
exit
fi