diff --git a/larbs.sh b/larbs.sh index 495f217..93b2dea 100644 --- a/larbs.sh +++ b/larbs.sh @@ -41,10 +41,6 @@ welcomemsg() { \ dialog --colors --title "Important Note!" --yes-label "All ready!" --no-label "Return..." --yesno "Be sure the computer you are using has current pacman updates and refreshed Arch keyrings.\\n\\nIf it does not, the installation of some programs might fail." 8 70 } -selectdotfiles() { \ - edition="$(dialog --title "Select LARBS version." --menu "Select which version of LARBS you wish to have as default:" 10 70 2 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." 10 60 3>&1 1>&2 2>&3 3>&1) || exit @@ -155,7 +151,6 @@ systembeepoff() { dialog --infobox "Getting rid of that retarded error beep soun finalize(){ \ dialog --infobox "Preparing welcome message..." 4 50 - echo "exec_always --no-startup-id notify-send -i ~/.local/share/larbs/larbs.png 'Welcome to LARBS:' 'Press Super+F1 for the manual.' -t 10000" >> "/home/$name/.config/i3/config" 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 (it will start automatically in tty1).\\n\\n.t Luke" 12 80 } @@ -168,7 +163,6 @@ installpkg dialog || error "Are you sure you're running this as the root user an # Welcome user and pick dotfiles. welcomemsg || error "User exited." -selectdotfiles || error "User exited." # Get and verify username and password. getuserandpass || error "User exited." @@ -241,9 +235,6 @@ dbus-uuidgen > /var/lib/dbus/machine-id # Block Brave autoupdates just in case. (I don't know if these even exist on Linux, but whatever.) grep -q "laptop-updates.brave.com" /etc/hosts || echo "0.0.0.0 laptop-updates.brave.com" >> /etc/hosts -# If user chose i3, start i3 on startx by default. -[ "$edition" = "i3" ] && sed -i "s/^ssh-agent dwm/# ssh-agent dwm/;s/^#\s*ssh-agent i3/ssh-agent i3/;s/#\s*export STATUSBAR=\"\?i3blocks\"\?/export STATUSBAR=\"i3blocks\"/" "/home/$name/.xinitrc" - # Start/restart PulseAudio. killall pulseaudio; sudo -u "$name" pulseaudio --start diff --git a/progs.csv b/progs.csv index 08aa40d..e91206d 100644 --- a/progs.csv +++ b/progs.csv @@ -10,7 +10,6 @@ V,libX11-devel,"is required for the compilation of some programs." V,libXft-devel,"is required for the compilation of some programs." V,gcr-devel,"is required for the compilation of some programs." V,fontconfig-devel,"is required for the compilation of some programs." -,i3-gaps,"is the main graphical user interface and window manager." ,ttf-linux-libertine,"provides the sans and serif fonts for LARBS." A,lf-git,"is an extensive terminal file manager that everyone likes." ,arandr,"is a UI for screen adjustment." @@ -30,7 +29,6 @@ V,dbus,"facilitates inter-process communication." ,gnome-keyring,"serves as the system keyring." A,gtk-theme-arc-gruvbox-git,"gives the dark GTK theme used in LARBS." ,neovim,"a tidier vim with some useful features" -,i3blocks,"is the status bar." ,mpd,"is a lightweight music daemon." ,mpc,"is a terminal interface for mpd." ,mpv,"is the patrician's choice video player." @@ -48,7 +46,6 @@ A,sc-im,"is an Excel-like terminal spreadsheet manager." ,maim,"can take quick screenshots at your request." ,abook,"is an offline addressbook usable by neomutt." ,socat,"is a socket utility." -,tmux,"is a terminal multiplexer and the dropdown window in LARBS." ,unclutter,"hides an inactive mouse." V,unclutter-xfixes,"hides an inactive mouse." ,unrar,"extracts rar's."