diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 9ef2a6fd..a46b6d97 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -86,6 +86,7 @@ in_fractal=0 in_bettergram=0 in_waifu2x=0 in_telegram=0 +in_element=0 cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16) options=(1 "VirtManager" off # any option can be set to default to "on" @@ -101,10 +102,11 @@ options=(1 "VirtManager" off # any option can be set to default to "on" 11 "MangoHud" off 12 "Easystroke" on 13 "Liferea" off - 14 "Fractal" on + 14 "Fractal" off 15 "Bettergram" off 16 "Waifu2x" off - 17 "Telegram" on) + 17 "Telegram" on + 18 "Element" on) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) clear for choice in $choices @@ -178,6 +180,10 @@ do in_telegram=1 echo "telegram-desktop" >> selectedpkgs.txt ;; + 18) + in_element=1 + echo "element-desktop" >> selectedpkgs.txt + ;; esac done @@ -543,6 +549,13 @@ else echo "Skipping Telegram" fi +if [ $in_telegram -eq 1 ]; then + echo "Installing Element" + sudo pacman -S --needed element-desktop +else + echo "Skipping Element" +fi + #performance and battery life if [ $in_acpufreq -eq 1 ]; then echo "Installing auto-cpufreq"