Change numbers. Add OneNote

This commit is contained in:
RealStickman 2021-03-15 14:34:10 +01:00
parent 32ecffaaea
commit 4fe2f35192

View File

@ -194,22 +194,26 @@ done
#in_slack=0 #in_slack=0
cmd=(dialog --separate-output --checklist "School and work communication" 22 76 16) cmd=(dialog --separate-output --checklist "School and work communication" 22 76 16)
options=(1 "teams" off options=(0 "Teams" off
2 "slack" off) 1 "Slack" off
10 "OneNote" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear clear
for choice in $choices for choice in $choices
do do
case $choice in case $choice in
1) 0)
#in_teams=1 #in_teams=1
echo "teams" >> "$setupdir/aurselectedpkgs.txt" echo "teams" >> "$setupdir/aurselectedpkgs.txt"
;; ;;
2) 1)
#in_slack=1 #in_slack=1
#echo "slack-desktop" >> "$setupdir/aurselectedpkgs.txt" #echo "slack-desktop" >> "$setupdir/aurselectedpkgs.txt"
echo "slack-electron" >> "$setupdir/aurselectedpkgs.txt" echo "slack-electron" >> "$setupdir/aurselectedpkgs.txt"
;; ;;
10)
echo "p3x-onenote" >> "$setupdir/aurselectedpkgs.txt"
;;
esac esac
done done