Skip to content

Instantly share code, notes, and snippets.

@J3698
Last active April 29, 2019 00:44
Show Gist options
  • Save J3698/b85841293bddfbcd699eac8a1c2a2486 to your computer and use it in GitHub Desktop.
Save J3698/b85841293bddfbcd699eac8a1c2a2486 to your computer and use it in GitHub Desktop.
Version 2 of Top of auto-bt.sh
#!/usr/bin/env bash
amixer -c 0 cset numid=3
coproc stdbuf -oL bluetoothctl
sleep 5
sudo -u pi /usr/local/bin/jackd -dalsa -r44100 -p1024 -n2 &
sleep 10
sudo -u pi pulseaudio --start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment