Change numbers

This commit is contained in:
RealStickman 2021-03-15 14:31:35 +01:00
parent ff02bc315e
commit 6bba7aef80

View File

@ -14,18 +14,18 @@ cd "$HOME"
#in_i3gaps=0 #in_i3gaps=0
cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16) cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16)
options=(1 "[DE] xfce4" off # any option can be set to default to "on" options=(0 "[DE] xfce4" off # any option can be set to default to "on"
2 "[WM] i3-gaps" off) 100 "[WM] i3-gaps" 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_xfce=1 #in_xfce=1
echo "xfce4" >> "$setupdir/selectedpkgs.txt" echo "xfce4" >> "$setupdir/selectedpkgs.txt"
;; ;;
2) 100)
#in_i3gaps=1 #in_i3gaps=1
echo "i3-gaps" >> "$setupdir/selectedpkgs.txt" echo "i3-gaps" >> "$setupdir/selectedpkgs.txt"
;; ;;