From 93fd71e4032101d06e78890f22298c6b75190a59 Mon Sep 17 00:00:00 2001 From: Jackson Law <178053+jlaw@users.noreply.github.com> Date: Fri, 24 Apr 2020 03:09:08 -0700 Subject: [PATCH] fix: Correct flag to specify user --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 32a1dd2..a203fa0 100644 --- a/larbs.sh +++ b/larbs.sh @@ -239,7 +239,7 @@ grep -q "laptop-updates.brave.com" /etc/hosts || echo "0.0.0.0 laptop-updates.br [ "$edition" = "i3" ] && sed -i "s/^exec dwm/# exec dwm/;s/^#\s*exec i3/exec i3/;s/#\s*export STATUSBAR=\"\?i3blocks\"\?/export STATUSBAR=\"i3blocks\"/" "/home/$name/.xinitrc" # Start/restart PulseAudio. -killall pulseaudio; sudo -n "$name" pulseaudio --start +killall pulseaudio; sudo -u "$name" pulseaudio --start # This line, overwriting the `newperms` command above will allow the user to run # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.