Add Element to selection
This commit is contained in:
parent
b523779f33
commit
14a41015bc
@ -86,6 +86,7 @@ in_fractal=0
|
|||||||
in_bettergram=0
|
in_bettergram=0
|
||||||
in_waifu2x=0
|
in_waifu2x=0
|
||||||
in_telegram=0
|
in_telegram=0
|
||||||
|
in_element=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,10 +102,11 @@ options=(1 "VirtManager" off # any option can be set to default to "on"
|
|||||||
11 "MangoHud" off
|
11 "MangoHud" off
|
||||||
12 "Easystroke" on
|
12 "Easystroke" on
|
||||||
13 "Liferea" off
|
13 "Liferea" off
|
||||||
14 "Fractal" on
|
14 "Fractal" off
|
||||||
15 "Bettergram" off
|
15 "Bettergram" off
|
||||||
16 "Waifu2x" off
|
16 "Waifu2x" off
|
||||||
17 "Telegram" on)
|
17 "Telegram" on
|
||||||
|
18 "Element" 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
|
||||||
@ -178,6 +180,10 @@ do
|
|||||||
in_telegram=1
|
in_telegram=1
|
||||||
echo "telegram-desktop" >> selectedpkgs.txt
|
echo "telegram-desktop" >> selectedpkgs.txt
|
||||||
;;
|
;;
|
||||||
|
18)
|
||||||
|
in_element=1
|
||||||
|
echo "element-desktop" >> selectedpkgs.txt
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -543,6 +549,13 @@ else
|
|||||||
echo "Skipping Telegram"
|
echo "Skipping Telegram"
|
||||||
fi
|
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
|
#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