dialog --title "Welcome!" --msgbox "Welcome to Luke's Auto-Rice Bootstrapping Script!\\n\\nThis script will automatically install a fully-featured Linux desktop, which I use as my main machine.\\n\\n-Luke"1060
}
selectdotfiles(){\
edition="$(dialog --title "Select LARBS version." --menu "Select which version of LARBS you wish to have as default:"10702 dwm "The version of LARBS using suckless's dwm." i3 "The classic version of LARBS using i3." custom "If you are supplying commandline options for LARBS." 3>&1 1>&2 2>&3 3>&1)"|| error "User exited."
}
getuserandpass(){\
# Prompts user for new username an password.
name=$(dialog --inputbox "First, please enter a name for the user account."1060 3>&1 1>&2 2>&3 3>&1)|| exit
@ -151,16 +165,17 @@ finalize(){ \
installpkg dialog || error "Are you sure you're running this as the root user and have an internet connection?"
# Welcome user and pick dotfiles.
welcomemsg || error "User exited from welcome."
welcomemsg || error "User exited."
selectdotfiles || error "User exited."
# Get and verify username and password.
getuserandpass || error "User exited from pass."
getuserandpass || error "User exited."
# Give warning if user already exists.
usercheck || error "User exited from check."
usercheck || error "User exited."
# Last chance for user to back out before install.
preinstallmsg || error "User exited from preinstall."
preinstallmsg || error "User exited."
### The rest of the script requires no user input.