larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit efc871190d48a75d9430076bde8d559826c64c92
parent 729d60ae020cdbdc5696f4de52591c2e5a6dc4ab
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  6 Nov 2018 13:05:48 -0500

perm fix

Diffstat:
Mlarbs.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/larbs.sh b/larbs.sh @@ -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