Skip to content

Instantly share code, notes, and snippets.

@redolent
Created April 15, 2015 20:50
Show Gist options
  • Save redolent/61e5db9d9685689e21e7 to your computer and use it in GitHub Desktop.
Save redolent/61e5db9d9685689e21e7 to your computer and use it in GitHub Desktop.
Fix Bluetooth Audio on Mac
#!/bin/bash
list="$(
sudo ps -A \
| grep -iE '([h]ear|[f]irefox|[b]lue|[c]oreaudiod)' \
| cut -c 1-90
)"
pids=$( cut -c 1-6 <<< "$list" )
echo sudo renice -5 $pids
sudo renice -5 $pids
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment