This commit is contained in:
Luke Smith 2022-01-21 19:56:29 -05:00
parent 07b2c41f45
commit 7c6e686236
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 3 additions and 2 deletions

View file

@ -57,7 +57,7 @@ preinstallmsg() { \
adduserandpass() { \ adduserandpass() { \
# Adds user `$name` with password $pass1. # Adds user `$name` with password $pass1.
dialog --infobox "Adding user \"$name\"..." 4 50 dialog --infobox "Adding user \"$name\"..." 4 50
useradd -m -g wheel -s /bin/zsh "$name" >/dev/null 2>&1 || useradd -m -G wheel -s /bin/zsh "$name" >/dev/null 2>&1 ||
usermod -a -G wheel "$name" && mkdir -p /home/"$name" && chown "$name":wheel /home/"$name" usermod -a -G wheel "$name" && mkdir -p /home/"$name" && chown "$name":wheel /home/"$name"
export repodir="/home/$name/.local/src"; mkdir -p "$repodir"; chown -R "$name":wheel "$(dirname "$repodir")" export repodir="/home/$name/.local/src"; mkdir -p "$repodir"; chown -R "$name":wheel "$(dirname "$repodir")"
echo "$name:$pass1" | chpasswd echo "$name:$pass1" | chpasswd
@ -78,7 +78,7 @@ refreshkeys() { \
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
done done
pacman -Sy >/dev/null 2>&1 pacman -Sy >/dev/null 2>&1
pacman-key --populate archlinux pacman-key --populate archlinux >/dev/null 2>&1
;; ;;
esac ;} esac ;}

View file

@ -17,6 +17,7 @@ A,lf-git,"is an extensive terminal file manager that everyone likes."
,ffmpeg,"can record and splice video and audio on the command line." ,ffmpeg,"can record and splice video and audio on the command line."
,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."
,python-qdarkstyle,"provides a dark Qt theme."
,neovim,"a tidier vim with some useful features" ,neovim,"a tidier vim with some useful features"
,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."

1 #TAG NAME IN REPO (or git url) PURPOSE (should be a verb phrase to sound right while installing)
17 ffmpeg can record and splice video and audio on the command line.
18 gnome-keyring serves as the system keyring.
19 A gtk-theme-arc-gruvbox-git gives the dark GTK theme used in LARBS.
20 python-qdarkstyle provides a dark Qt theme.
21 neovim a tidier vim with some useful features
22 mpd is a lightweight music daemon.
23 mpc is a terminal interface for mpd.