DIALOG! INTERACTIVITY!!
This commit is contained in:
parent
dd900f284b
commit
0764895cf1
@ -3,47 +3,141 @@
|
||||
#change to home (does not show in terminal)
|
||||
cd $HOME
|
||||
|
||||
#uninstall
|
||||
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
|
||||
read -p "Remove Programs? [y|n]";
|
||||
if [ $REPLY == "y" ]; then
|
||||
echo Uninstalling unused packages
|
||||
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
|
||||
echo Uninstalled unused packages
|
||||
else
|
||||
echo "Didn't uninstall any packages"
|
||||
fi
|
||||
|
||||
#update stuff
|
||||
yay -Syyu
|
||||
echo Updated packages
|
||||
echo Skipping updating packages
|
||||
#echo Updating packages
|
||||
#yay -Syyu
|
||||
#echo Updated packages
|
||||
|
||||
#echo Installing missing programs
|
||||
#trizen -S --needed libreoffice-fresh-de steam steam-native-runtime i3-gaps lutris virt-manager ttf-ms-fonts ttf-tahoma ttf-vista-fonts discord bettergram cpu-x polybar youtube-dl blender krita termite neofetch arandr firefox variety wget sublime-text-dev picom handbrake nutty bitwarden woeusb nohang-git pcloud-drive lightdm-webkit-theme-aether gimp stress debtap obs-studio audacity python-pip tk picard hunspell hunspell-de hyphen hyphen-de fish psensor transmission-gtk rig smartmontools thunderbird code gimp-plugin-registry
|
||||
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
|
||||
|
||||
echo Installing official programs
|
||||
sudo pacman -S --needed xfce4 arandr qemu libreoffice-fresh-de steam steam-native-runtime i3-gaps lutris virt-manager discord youtube-dl blender krita termite neofetch firefox wget picom handbrake gimp stress obs-studio audacity 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
|
||||
cmd=(dialog --separate-output --checklist "Select programs:" 22 76 16)
|
||||
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
|
||||
7 "Discord" off
|
||||
8 "Handbrake" off
|
||||
9 "Gimp" off
|
||||
10 "Audacity" off
|
||||
11 "MangoHud" off)
|
||||
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
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
echo Installing default pacman programs
|
||||
sudo pacman -S --needed arandr libreoffice-fresh-de termite neofetch firefox 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
|
||||
echo Installed official programs
|
||||
|
||||
#AUR
|
||||
echo Installing AUR programs
|
||||
echo Installing default AUR programs
|
||||
yay -S --needed ttf-ms-fonts ttf-tahoma ttf-vista-fonts bettergram cpu-x polybar nutty bitwarden woeusb nohang-git lightdm-webkit-theme-aether-git debtap rig gimp-plugin-registry vscodium-bin piper
|
||||
yay -S --needed pcloud-drive
|
||||
echo Installed AUR programs
|
||||
|
||||
#install wine
|
||||
echo Installing wine
|
||||
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
|
||||
echo Installed packages
|
||||
echo Installed wine
|
||||
|
||||
#pull mangohud
|
||||
git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
|
||||
./MangoHud/build.sh install
|
||||
#install if nvidia drivers are used
|
||||
#sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader
|
||||
#echo Installing MangoHud
|
||||
#git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
|
||||
#./MangoHud/build.sh install
|
||||
#echo Installed MangoHud
|
||||
|
||||
echo Installing python modules
|
||||
sudo pip3 install ffmpeg-normalize
|
||||
sudo python3 -m pip install mutagen
|
||||
sudo pip install pyglet
|
||||
#sudo python3 -m pip install mutagen
|
||||
#sudo pip install pyglet
|
||||
echo Installed python modules
|
||||
|
||||
#Changes to home folder automatically now, no need to be extra careful anymore.
|
||||
echo No config download
|
||||
git clone https://gitlab.com/RealStickman-arcolinux/config
|
||||
echo Finished downloading config
|
||||
|
||||
#cleanup
|
||||
echo Removal of old files not set
|
||||
rm -rf ~/setup
|
||||
echo Removed old setup files
|
||||
|
||||
#downloading config
|
||||
echo Not installing config
|
||||
echo Setting config
|
||||
bash ~/config/install.sh
|
Loading…
Reference in New Issue
Block a user