Add Telegram client. TODO: Deprecate Bettergram

This commit is contained in:
RealStickman 2020-11-25 15:58:55 +01:00
parent 4d7c0d82fa
commit ca32d8573c

View File

@ -85,6 +85,7 @@ in_liferea=0
in_fractal=0
in_bettergram=0
in_waifu2x=0
in_telegram=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,8 +102,9 @@ options=(1 "VirtManager" off # any option can be set to default to "on"
12 "Easystroke" on
13 "Liferea" off
14 "Fractal" on
15 "Bettergram" on
16 "Waifu2x" off)
15 "Bettergram" off
16 "Waifu2x" off
17 "Telegram" on)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
@ -172,6 +174,10 @@ do
in_waifu2x=1
echo "waifu2x-ncnn-vulkan" >> aurselectedpkgs.txt
;;
17)
in_telegram=1
echo "telegram-desktop" >> selectedpkgs.txt
;;
esac
done
@ -521,6 +527,13 @@ else
echo "Skipping Waifu2x"
fi
if [ $in_telegram -eq 1 ]; then
echo "Installing Telegram"
sudo pacman -S --needed --noconfirm telegram-desktop
else
echo "Skipping Telegram"
fi
#performance and battery life
if [ $in_acpufreq -eq 1 ]; then
echo "Installing auto-cpufreq"