2020-02-21 14:58:26 +01:00
|
|
|
#!/bin/bash
|
2020-02-28 22:33:35 +01:00
|
|
|
|
2020-02-28 22:39:50 +01:00
|
|
|
#change to home (does not show in terminal)
|
2020-02-28 22:28:53 +01:00
|
|
|
cd $HOME
|
2020-02-28 22:33:35 +01:00
|
|
|
|
2020-06-12 16:23:06 +02:00
|
|
|
read -p "Remove Programs? [y|n]";
|
|
|
|
if [ $REPLY == "y" ]; then
|
|
|
|
echo Uninstalling unused packages
|
2020-06-12 16:59:47 +02:00
|
|
|
sudo pacman -Rns evolution catfish geany vim keepass gnome-boxes sublime-text-dev atom adwaita-icon-theme arcolinux-i3wm-git arcolinux-tweak-tool-git arcolinux-welcome-app-git clonezilla evolution-data-server numix-circle-arc-icons-git numix-circle-icon-theme-git numix-gtk-theme-git numix-icon-theme-git oh-my-zsh-git pamac-aur qbittorrent vivaldi vlc code baka-mplayer tmux
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Uninstalled unused packages
|
|
|
|
else
|
|
|
|
echo "Didn't uninstall any packages"
|
|
|
|
fi
|
2020-03-19 09:18:01 +01:00
|
|
|
|
2020-03-02 13:31:03 +01:00
|
|
|
#update stuff
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Skipping updating packages
|
|
|
|
#echo Updating packages
|
|
|
|
#yay -Syyu
|
|
|
|
#echo Updated packages
|
2020-03-02 13:31:03 +01:00
|
|
|
|
2020-06-12 16:23:06 +02:00
|
|
|
cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16)
|
|
|
|
options=(1 "[DE] xfce4" off # any option can be set to default to "on"
|
|
|
|
2 "[WM] i3-gaps" off)
|
|
|
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
|
|
clear
|
|
|
|
for choice in $choices
|
|
|
|
do
|
|
|
|
case $choice in
|
|
|
|
1)
|
|
|
|
sudo pacman -S --needed xfce4
|
|
|
|
;;
|
|
|
|
2)
|
|
|
|
sudo pacman -S --needed i3-gaps
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
2020-05-07 08:43:48 +02:00
|
|
|
|
2020-06-14 18:00:55 +02:00
|
|
|
cmd=(dialog --separate-output --checklist "Select browsers:" 22 76 16)
|
|
|
|
options=(1 "Firefox" on # any option can be set to default to "on"
|
2020-06-19 18:50:01 +02:00
|
|
|
2 "Ungoogled-Chromium" off
|
2020-06-14 18:00:55 +02:00
|
|
|
3 "Palemoon" off
|
|
|
|
4 "Basilisk" off
|
2020-06-20 08:32:35 +02:00
|
|
|
5 "Netsurf" off
|
|
|
|
6 "Icecat" off)
|
2020-06-14 18:00:55 +02:00
|
|
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
|
|
clear
|
|
|
|
for choice in $choices
|
|
|
|
do
|
|
|
|
case $choice in
|
|
|
|
1)
|
|
|
|
sudo pacman -S --needed qemu firefox
|
|
|
|
echo Installed Firefox
|
|
|
|
;;
|
|
|
|
2)
|
2020-06-19 18:50:01 +02:00
|
|
|
sudo pacman -S --needed ungoogled-chromium
|
|
|
|
echo Installed Ungoogled-Chromium
|
2020-06-14 18:00:55 +02:00
|
|
|
;;
|
|
|
|
3)
|
|
|
|
sudo pacman -S --needed palemoon
|
|
|
|
echo Installed Palemoon
|
|
|
|
;;
|
|
|
|
4)
|
|
|
|
sudo pacman -S --needed basilisk
|
|
|
|
echo Installed Basilisk
|
|
|
|
;;
|
|
|
|
5)
|
|
|
|
sudo pacman -S --needed netsurf
|
|
|
|
echo Installed Netsurf
|
|
|
|
;;
|
2020-06-20 08:32:35 +02:00
|
|
|
6)
|
|
|
|
sudo yay -S --needed icecat-bin
|
|
|
|
echo Installed Icecat
|
|
|
|
;;
|
2020-06-14 18:00:55 +02:00
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16)
|
2020-06-12 16:23:06 +02:00
|
|
|
options=(1 "VirtManager" off # any option can be set to default to "on"
|
|
|
|
2 "Steam" off
|
|
|
|
3 "Lutris" off
|
|
|
|
4 "Blender" off
|
|
|
|
5 "Krita" off
|
|
|
|
6 "Youtube-dl" off
|
2020-06-14 18:00:55 +02:00
|
|
|
7 "Discord" on
|
2020-06-12 16:23:06 +02:00
|
|
|
8 "Handbrake" off
|
|
|
|
9 "Gimp" off
|
|
|
|
10 "Audacity" off
|
2020-06-17 10:04:27 +02:00
|
|
|
11 "MangoHud" off
|
2020-06-21 19:17:40 +02:00
|
|
|
12 "Easystroke" on
|
|
|
|
13 "Liferea" off)
|
2020-06-12 16:23:06 +02:00
|
|
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
|
|
|
clear
|
|
|
|
for choice in $choices
|
|
|
|
do
|
|
|
|
case $choice in
|
|
|
|
1)
|
|
|
|
sudo pacman -S --needed qemu virt-manager
|
|
|
|
echo Installed VirtManager
|
|
|
|
;;
|
|
|
|
2)
|
|
|
|
sudo pacman -S --needed steam steam-native-runtime
|
|
|
|
echo Installed Steam
|
|
|
|
;;
|
|
|
|
3)
|
|
|
|
sudo pacman -S --needed lutris
|
|
|
|
echo Installed Lutris
|
|
|
|
;;
|
|
|
|
4)
|
|
|
|
sudo pacman -S --needed blender
|
|
|
|
echo Installed Blender
|
|
|
|
;;
|
|
|
|
5)
|
|
|
|
sudo pacman -S --needed krita
|
|
|
|
echo Installed Krita
|
|
|
|
;;
|
|
|
|
6)
|
|
|
|
sudo pacman -S --needed youtube-dl
|
|
|
|
echo Installed Youtube-dl
|
|
|
|
;;
|
|
|
|
7)
|
|
|
|
sudo pacman -S --needed discord
|
|
|
|
echo Installed Discord
|
|
|
|
;;
|
|
|
|
8)
|
|
|
|
sudo pacman -S --needed handbrake
|
|
|
|
echo Installed Handbrake
|
|
|
|
;;
|
|
|
|
9)
|
|
|
|
sudo pacman -S --needed gimp
|
|
|
|
echo Installed Gimp
|
|
|
|
;;
|
|
|
|
10)
|
|
|
|
sudo pacman -S --needed audacity
|
|
|
|
echo Installed Audacity
|
|
|
|
;;
|
|
|
|
11)
|
|
|
|
git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
|
|
|
|
./MangoHud/build.sh install
|
|
|
|
echo Installed MangoHud
|
|
|
|
;;
|
2020-06-17 10:04:27 +02:00
|
|
|
12)
|
|
|
|
sudo yay -S --needed easystroke
|
|
|
|
echo Installed Easystroke
|
|
|
|
;;
|
2020-06-21 19:17:40 +02:00
|
|
|
13)
|
|
|
|
sudo yay -S --needed liferea
|
|
|
|
echo Installed Liferea
|
|
|
|
;;
|
2020-06-12 16:23:06 +02:00
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
echo Installing default pacman programs
|
2020-06-14 18:00:55 +02:00
|
|
|
sudo pacman -S --needed arandr libreoffice-fresh-de termite neofetch wget picom stress obs-studio python-pip hunspell hunspell-de hyphen hyphen-de fish psensor transmission-qt smartmontools thunderbird ffmpeg jre-openjdk thunar gtk-engine-murrine iperf3 celluloid nload languagetool dmenu
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Installed official programs
|
2020-05-07 08:43:48 +02:00
|
|
|
|
|
|
|
#AUR
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Installing default AUR programs
|
2020-06-17 20:43:15 +02:00
|
|
|
yay -S --needed ttf-ms-fonts ttf-tahoma ttf-vista-fonts bettergram cpu-x polybar nutty woeusb nohang-git lightdm-webkit-theme-aether-git debtap rig gimp-plugin-registry vscodium-bin piper
|
|
|
|
yay -S --needed bitwarden
|
2020-05-07 08:43:48 +02:00
|
|
|
yay -S --needed pcloud-drive
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Installed AUR programs
|
2020-03-01 10:38:40 +01:00
|
|
|
|
2020-02-29 16:00:06 +01:00
|
|
|
#install wine
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Installing wine
|
2020-04-19 16:38:00 +02:00
|
|
|
pacman -S --needed wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Installed wine
|
2020-02-29 13:18:14 +01:00
|
|
|
|
2020-06-12 16:23:06 +02:00
|
|
|
echo Installing python modules
|
2020-02-19 21:53:49 +01:00
|
|
|
sudo pip3 install ffmpeg-normalize
|
2020-02-29 15:16:05 +01:00
|
|
|
echo Installed python modules
|
2020-02-25 11:48:39 +01:00
|
|
|
|
2020-02-28 22:40:18 +01:00
|
|
|
#Changes to home folder automatically now, no need to be extra careful anymore.
|
2020-06-15 20:50:25 +02:00
|
|
|
#echo No config download
|
2020-04-18 23:25:41 +02:00
|
|
|
git clone https://gitlab.com/RealStickman-arcolinux/config
|
2020-04-16 08:51:26 +02:00
|
|
|
echo Finished downloading config
|
2020-02-29 13:18:14 +01:00
|
|
|
|
|
|
|
#cleanup
|
2020-06-15 20:50:25 +02:00
|
|
|
#echo Removal of old files not set
|
2020-04-18 23:25:41 +02:00
|
|
|
rm -rf ~/setup
|
2020-02-29 15:16:05 +01:00
|
|
|
echo Removed old setup files
|
2020-02-29 13:18:14 +01:00
|
|
|
|
|
|
|
#downloading config
|
2020-06-15 20:50:25 +02:00
|
|
|
#echo Not installing config
|
2020-04-16 08:51:26 +02:00
|
|
|
echo Setting config
|
2020-06-15 20:50:25 +02:00
|
|
|
bash ~/config/install.sh
|
|
|
|
echo Finished everything
|