Skip to content

Commit ffb1676

Browse files
committed
Added an additional script to install some bloat. Need to test.
1 parent 8854551 commit ffb1676

2 files changed

Lines changed: 85 additions & 3 deletions

File tree

bloat.sh

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#!/bin/bash
2+
clear
3+
echo ">>> Desktop Environment <<<"
4+
echo
5+
while ! [[ "$desktop" =~ ^(1|2|3|4)$ ]]
6+
do
7+
echo "Please select 1,2,3 for:"
8+
echo "1. Gnome"
9+
echo "2. KDE/Plasma"
10+
echo "3. Xfce"
11+
echo "4. None"
12+
read -p "Desktop: " desktop
13+
done
14+
case $desktop in
15+
1)
16+
pacstrap /mnt gnome-shell mutter chrome-gnome-shell file-roller firefox gdm gnome-backgrounds gnome-control-center gnome-terminal gnome-tweak-tool nautilus
17+
arch-chroot /mnt /bin/bash -c "systemctl enable gdm.service"
18+
;;
19+
2)
20+
pacstrap /mnt plasma plasma-wayland-session ark dolphin firefox gwenview konsole kwrite krunner sddm
21+
arch-chroot /mnt /bin/bash -c "systemctl enable sddm.service"
22+
arch-chroot /mnt /bin/bash -c "systemctl enable bluetooth.service"
23+
;;
24+
3)
25+
pacstrap /mnt xfce xfce4-goodies firefox lightdm lightdm-gtk-greeter
26+
arch-chroot /mnt /bin/bash -c "systemctl enable lightdm.service"
27+
;;
28+
4)
29+
echo "No desktop environment will be installed."
30+
;;
31+
esac
32+
clear
33+
echo ">>> NVIDIA Support <<<"
34+
echo
35+
echo "Do you want to add NVIDIA support? (Y/N)"
36+
read -p "NVIDIA Support: " nvidia
37+
if [[ $nvidia == "y" || $nvidia == "Y" || $nvidia == "yes" || $nvidia== "Yes" ]]
38+
then
39+
pacstrap /mnt nvidia
40+
fi
41+
clear
42+
echo ">>> Flatpak <<<"
43+
echo
44+
echo "Do you want to install flatpak? (Y/N)"
45+
read -p "Flatpak: " flatpak
46+
if [[ $flatpak == "y" || $flatpak == "Y" || $flatpak == "yes" || $flatpak == "Yes" ]]
47+
then
48+
pacstrap /mnt flatpak
49+
fi
50+
clear
51+
echo ">>> Printer Support <<<"
52+
echo
53+
echo "Do you want to add printing support? (Y/N)"
54+
read -p "Printing Support: " printerSupport
55+
if [[ $printerSupport == "y" || $printerSupport == "Y" || $printerSupport == "yes" || $printerSupport == "Yes" ]]
56+
then
57+
pacstrap /mnt cups
58+
fi
59+
clear
60+
echo ">>> IzZy's Customs <<<"
61+
echo
62+
echo "Install my customs? (Y/N)"
63+
echo "These customs includes:"
64+
echo "- flatpak applications (libre office and other general flatpaks)"
65+
echo "- alacritty (terminal emulator)"
66+
echo "- timeshift (for snapshots)"
67+
read -p "My Customs: " custom
68+
if [[ $custom == "y" || $custom == "Y" || $custom == "yes" || $custom == "Yes" ]]
69+
then
70+
pacstrap /mnt alacritty
71+
arch-chroot /mnt /bin/bash -c "paru --skipreview --removemake --cleanafter timeshift"
72+
arch-chroot /mnt /bin/bash -c "flatpak install flathub -y --noninteractive --app org.gnome.Boxes org.gnome.Calculator org.gnome.Calendar org.gnome.clocks org.gnome.eog org.gnome.Epiphany org.gnome.Extensions org.gnome.Evince org.gnome.font-viewer org.gnome.Geary org.gnome.gedit org.gnome.Photos org.gnome.Totem org.gnome.Weather"
73+
fi
Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
clear
33
echo
4-
echo "Welcome to SimplyArch Installer (UEFI)"
4+
echo "Welcome to SimplyArch Installer"
55
echo "Copyright (C) 2021 Victor Bayas"
66
echo
77
echo "DISCLAIMER: THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED"
@@ -223,13 +223,22 @@ then
223223
arch-chroot /mnt /bin/bash -c "chmod +x /home/$user/simple_reflector.sh"
224224
arch-chroot /mnt /bin/bash -c "/home/$user/simple_reflector.sh"
225225
clear
226-
# yay
226+
# paru
227227
echo ">>> Post-install routine <<<"
228228
echo
229229
echo "Installing the Paru AUR Helper..."
230230
echo "cd && git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -si --noconfirm && cd && rm -rf paru-bin" | arch-chroot /mnt /bin/bash -c "su $user"
231231
clear
232-
echo "SimplyArch Installer (UEFI)"
232+
echo ">>> Make Arch Bloated? <<<"
233+
echo
234+
echo "Do you want to install a Desktop Environment and other packages? (Y/N)"
235+
read -p "Bloat: " bloat
236+
if [[ $bloat == "y" || $bloat == "Y" || $bloat == "yes" || $bloat == "Yes" ]]
237+
then
238+
/bin/bash bloat.sh
239+
fi
240+
clear
241+
echo "SimplyArch Installer"
233242
echo
234243
echo ">>> Installation finished sucessfully <<<"
235244
echo

0 commit comments

Comments
 (0)