pacman -S --noconfirm --needed dialog ||(echo"Error at script start: Are you sure you're running this as the root user? Are you sure you have an internet connection?"&&exit)
dialog --title "Welcome!" --msgbox "Welcome to Luke's Auto-Rice Bootstrapping Script!\n\nThis script will automatically install a fully-featured i3wm Arch Linux desktop, which I use as my main machine.\n\n-Luke"1060
dialog --no-cancel --inputbox "First, please enter a name for the user account."1060 2> name
dialog --no-cancel --passwordbox "Enter a password for that user."1060 2> pass1
dialog --title "All done!" --msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\n\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment.\n\n-Luke"1280