Merge branch 'master' into master

This commit is contained in:
Luke Smith 2022-10-18 22:18:34 +00:00 committed by GitHub
commit 5ee4116c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

7
larbs.sh Executable file → Normal file
View File

@ -265,11 +265,6 @@ manualinstall yay || error "Failed to install AUR helper."
# and all build dependencies are installed.
installationloop
whiptail --title "LARBS Installation" \
--infobox "Finally, installing the newest version of \`libxft\` to enable color emoji in suckless software without crashes." 8 70
pacman -Qs libxft-git ||
yes | sudo -u "$name" $aurhelper -S libxft-git >/dev/null 2>&1
# Install the dotfiles in the user's home directory, but remove .git dir and
# other unnecessary files.
putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch"
@ -307,7 +302,7 @@ EndSection' >/etc/X11/xorg.conf.d/40-libinput.conf
# Allow wheel users to sudo with password and allow several system commands
# (like `shutdown` to run without password).
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-larbs-wheel-can-sudo
echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm" >/etc/sudoers.d/01-larbs-cmds-without-password
echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/pacman -Syyuw --noconfirm,/usr/bin/pacman -S -u -y --config /etc/pacman.conf --,/usr/bin/pacman -S -y -u --config /etc/pacman.conf --" >/etc/sudoers.d/01-larbs-cmds-without-password
echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-larbs-visudo-editor
# Last message! Install complete!

View File

@ -1,5 +1,4 @@
#TAG,NAME IN REPO (or git url),PURPOSE (should be a verb phrase to sound right while installing)
A,libxft-git,"is a FreeType-based font drawing library for X"
,xorg-server,"is the graphical server."
,xorg-xwininfo,"allows querying information about windows."
,xorg-xinit,"starts the graphical server."

1 #TAG NAME IN REPO (or git url) PURPOSE (should be a verb phrase to sound right while installing)
A libxft-git is a FreeType-based font drawing library for X
2 xorg-server is the graphical server.
3 xorg-xwininfo allows querying information about windows.
4 xorg-xinit starts the graphical server.