This commit is contained in:
Luke Smith 2018-11-06 13:05:48 -05:00
parent 729d60ae02
commit efc871190d
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -136,7 +136,7 @@ resetpulse() { dialog --infobox "Reseting Pulseaudio..." 4 50
manualinstall() { # Installs $1 manually if not installed. Used only for AUR helper here.
[[ -f /usr/bin/$1 ]] || (
dialog --infobox "Installing \"$1\", an AUR helper..." 8 50
dialog --infobox "Installing \"$1\", an AUR helper..." 4 50
cd /tmp
rm -rf /tmp/"$1"*
curl -sO https://aur.archlinux.org/cgit/aur.git/snapshot/"$1".tar.gz &&
@ -217,7 +217,7 @@ systembeepoff
# This line, overwriting the `newperms` command above will allow the user to run
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.
newperms "%wheel ALL=(ALL) ALL\\n%wheel 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/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,pacman -Syyuw --noconfirm"
newperms "%wheel ALL=(ALL) ALL\\n%wheel 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/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm"
# Make pacman and yay colorful because why not.
sed -i "s/^#Color/Color/g" /etc/pacman.conf