From 44e6d731f5700dd89c7c7499c0a71301ee9d2eb0 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 23 Aug 2020 18:36:59 +0000 Subject: [PATCH] Update install.sh --- arch-setup/install.sh | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 930ad446..0df4ae9d 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -88,14 +88,7 @@ options=(1 "VirtManager" off # any option can be set to default to "on" 6 "Youtube-dl" off 7 "Discord" on 8 "Handbrake" off - 9 "Gimp" off - 10 "Audacity" off - 11 "MangoHud" off - 12 "Easystroke" on - 13 "Liferea" off - 14 "Mirage" on - 15 "Bettergram" on - 16 "Pycharm") + 9 "Gimp" off) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) #clear for choice in $choices @@ -137,32 +130,48 @@ do sudo pacman -S --needed gimp echo Installed Gimp ;; - 10) + esac +done + +cmd=(dialog --separate-output --checklist "Select more programs:" 22 76 16) +options=(1 "Audacity" off + 2 "MangoHud" off + 3 "Easystroke" on + 4 "Liferea" off + 5 "Mirage" on + 6 "Bettergram" on + 7 "Pycharm") +choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) +#clear +for choice in $choices +do + case $choice in + 1) sudo pacman -S --needed audacity echo Installed Audacity ;; - 11) + 2) git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git ./MangoHud/build.sh install echo Installed MangoHud ;; - 12) + 3) sudo yay -S --needed easystroke echo Installed Easystroke ;; - 13) + 4) sudo yay -S --needed liferea echo Installed Liferea ;; - 14) + 5) sudo yay -S --needed matrix-mirage echo Installed Mirage ;; - 15) + 6) sudo yay -S --needed bettergram echo Installed Bettergram ;; - 16) + 7) sudo pacman -S --needed pycharm-community-edition echo Installed Pycharm ;;