diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-04-09 17:14:26 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-09 17:14:26 -0400 |
commit | c539b8949ce31fcdd08e7f0bc9f36cd9a7c08a3e (patch) | |
tree | 260345bd423e67bfa2cddb4fa4fa77413e52a12d /larbs.sh | |
parent | 9ac0a07bfd0f08a056699cb268224ec29eafafb1 (diff) |
pulseaudio now default audio system
Diffstat (limited to 'larbs.sh')
-rw-r--r-- | larbs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |