Add Telegram client. TODO: Deprecate Bettergram
This commit is contained in:
parent
4d7c0d82fa
commit
ca32d8573c
@ -85,6 +85,7 @@ in_liferea=0
|
|||||||
in_fractal=0
|
in_fractal=0
|
||||||
in_bettergram=0
|
in_bettergram=0
|
||||||
in_waifu2x=0
|
in_waifu2x=0
|
||||||
|
in_telegram=0
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16)
|
cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16)
|
||||||
options=(1 "VirtManager" off # any option can be set to default to "on"
|
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
|
12 "Easystroke" on
|
||||||
13 "Liferea" off
|
13 "Liferea" off
|
||||||
14 "Fractal" on
|
14 "Fractal" on
|
||||||
15 "Bettergram" on
|
15 "Bettergram" off
|
||||||
16 "Waifu2x" off)
|
16 "Waifu2x" off
|
||||||
|
17 "Telegram" on)
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
||||||
clear
|
clear
|
||||||
for choice in $choices
|
for choice in $choices
|
||||||
@ -172,6 +174,10 @@ do
|
|||||||
in_waifu2x=1
|
in_waifu2x=1
|
||||||
echo "waifu2x-ncnn-vulkan" >> aurselectedpkgs.txt
|
echo "waifu2x-ncnn-vulkan" >> aurselectedpkgs.txt
|
||||||
;;
|
;;
|
||||||
|
17)
|
||||||
|
in_telegram=1
|
||||||
|
echo "telegram-desktop" >> selectedpkgs.txt
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -521,6 +527,13 @@ else
|
|||||||
echo "Skipping Waifu2x"
|
echo "Skipping Waifu2x"
|
||||||
fi
|
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
|
#performance and battery life
|
||||||
if [ $in_acpufreq -eq 1 ]; then
|
if [ $in_acpufreq -eq 1 ]; then
|
||||||
echo "Installing auto-cpufreq"
|
echo "Installing auto-cpufreq"
|
||||||
|
Loading…
Reference in New Issue
Block a user