Moved VSCodium to optional installs.

This commit is contained in:
RealStickman 2020-09-09 21:01:58 +02:00
parent b9ad5da9d1
commit 67fec9814b

View File

@ -196,9 +196,11 @@ do
done done
in_doom-emacs=0 in_doom-emacs=0
in_vscodium=0
cmd=(dialog --separate-output --checklist "Code editors" 22 76 16) cmd=(dialog --separate-output --checklist "Code editors" 22 76 16)
options=(1 "doom-emacs" off) options=(1 "doom-emacs" off
2 "vscodium" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear clear
for choice in $choices for choice in $choices
@ -207,6 +209,9 @@ do
1) 1)
in_doom-emacs=1 in_doom-emacs=1
;; ;;
2)
in_vscodium=1
;;
esac esac
done done
@ -242,7 +247,7 @@ echo Installed official programs
#AUR #AUR
echo Installing default AUR programs echo Installing default AUR programs
yay -S --needed --noconfirm ttf-ms-fonts ttf-tahoma ttf-vista-fonts cpu-x polybar nutty woeusb nohang-git lightdm-webkit-theme-aether debtap rig gimp-plugin-registry vscodium-bin piper yay -S --needed --noconfirm ttf-ms-fonts ttf-tahoma ttf-vista-fonts cpu-x polybar nutty woeusb nohang-git lightdm-webkit-theme-aether debtap rig gimp-plugin-registry piper
yay -S --needed --noconfirm bitwarden yay -S --needed --noconfirm bitwarden
yay -S --needed --noconfirm pcloud-drive yay -S --needed --noconfirm pcloud-drive
echo Installed AUR programs echo Installed AUR programs
@ -463,6 +468,13 @@ else
echo "Skipping doom-emacs" echo "Skipping doom-emacs"
fi fi
if [ $in_vscodium -eq 1 ]; then
echo "Installing vscodium"
yay -S --needed vscodium-bin
else
echo "Skipping vscodium"
fi
#stats #stats
if [ $in_pkgstats -eq 1 ]; then if [ $in_pkgstats -eq 1 ]; then
echo "Installing pkgstats" echo "Installing pkgstats"