summaryrefslogtreecommitdiff
path: root/larbs.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-09 17:14:26 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-09 17:14:26 -0400
commitc539b8949ce31fcdd08e7f0bc9f36cd9a7c08a3e (patch)
tree260345bd423e67bfa2cddb4fa4fa77413e52a12d /larbs.sh
parent9ac0a07bfd0f08a056699cb268224ec29eafafb1 (diff)
pulseaudio now default audio system
Diffstat (limited to 'larbs.sh')
-rw-r--r--larbs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/larbs.sh b/larbs.sh
index f1202f7..20c24cc 100644
--- a/larbs.sh
+++ b/larbs.sh
@@ -239,6 +239,9 @@ grep -q "laptop-updates.brave.com" /etc/hosts || echo "0.0.0.0 laptop-updates.br
# Let LARBS know the WM it's supposed to run.
echo "$edition" > "/home/$name/.local/share/larbs/wm"; chown -R "$name":wheel "/home/$name/.local"
+# Start/restart PulseAudio.
+killall pulseaudio; sudo -n "$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.
[ "$distro" = arch ] && newperms "%wheel ALL=(ALL) ALL #LARBS