i3 removed

This commit is contained in:
Luke Smith 2020-06-08 13:45:25 -04:00
parent ab1c78624c
commit 5ffc31bbc1
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
2 changed files with 0 additions and 12 deletions

View File

@ -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 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() { \ getuserandpass() { \
# Prompts user for new username an password. # 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 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(){ \ finalize(){ \
dialog --infobox "Preparing welcome message..." 4 50 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 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. # Welcome user and pick dotfiles.
welcomemsg || error "User exited." welcomemsg || error "User exited."
selectdotfiles || error "User exited."
# Get and verify username and password. # Get and verify username and password.
getuserandpass || error "User exited." 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.) # 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 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. # Start/restart PulseAudio.
killall pulseaudio; sudo -u "$name" pulseaudio --start killall pulseaudio; sudo -u "$name" pulseaudio --start

View File

@ -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,libXft-devel,"is required for the compilation of some programs."
V,gcr-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." 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." ,ttf-linux-libertine,"provides the sans and serif fonts for LARBS."
A,lf-git,"is an extensive terminal file manager that everyone likes." A,lf-git,"is an extensive terminal file manager that everyone likes."
,arandr,"is a UI for screen adjustment." ,arandr,"is a UI for screen adjustment."
@ -30,7 +29,6 @@ V,dbus,"facilitates inter-process communication."
,gnome-keyring,"serves as the system keyring." ,gnome-keyring,"serves as the system keyring."
A,gtk-theme-arc-gruvbox-git,"gives the dark GTK theme used in LARBS." A,gtk-theme-arc-gruvbox-git,"gives the dark GTK theme used in LARBS."
,neovim,"a tidier vim with some useful features" ,neovim,"a tidier vim with some useful features"
,i3blocks,"is the status bar."
,mpd,"is a lightweight music daemon." ,mpd,"is a lightweight music daemon."
,mpc,"is a terminal interface for mpd." ,mpc,"is a terminal interface for mpd."
,mpv,"is the patrician's choice video player." ,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." ,maim,"can take quick screenshots at your request."
,abook,"is an offline addressbook usable by neomutt." ,abook,"is an offline addressbook usable by neomutt."
,socat,"is a socket utility." ,socat,"is a socket utility."
,tmux,"is a terminal multiplexer and the dropdown window in LARBS."
,unclutter,"hides an inactive mouse." ,unclutter,"hides an inactive mouse."
V,unclutter-xfixes,"hides an inactive mouse." V,unclutter-xfixes,"hides an inactive mouse."
,unrar,"extracts rar's." ,unrar,"extracts rar's."

1 #TAG NAME IN REPO (or git url) PURPOSE (should be a verb phrase to sound right while installing)
10 V libXft-devel is required for the compilation of some programs.
11 V gcr-devel is required for the compilation of some programs.
12 V fontconfig-devel is required for the compilation of some programs.
i3-gaps is the main graphical user interface and window manager.
13 ttf-linux-libertine provides the sans and serif fonts for LARBS.
14 A lf-git is an extensive terminal file manager that everyone likes.
15 arandr is a UI for screen adjustment.
29 gnome-keyring serves as the system keyring.
30 A gtk-theme-arc-gruvbox-git gives the dark GTK theme used in LARBS.
31 neovim a tidier vim with some useful features
i3blocks is the status bar.
32 mpd is a lightweight music daemon.
33 mpc is a terminal interface for mpd.
34 mpv is the patrician's choice video player.
46 maim can take quick screenshots at your request.
47 abook is an offline addressbook usable by neomutt.
48 socat is a socket utility.
tmux is a terminal multiplexer and the dropdown window in LARBS.
49 unclutter hides an inactive mouse.
50 V unclutter-xfixes hides an inactive mouse.
51 unrar extracts rar's.