Skip to content

Instantly share code, notes, and snippets.

@xpavli44
xpavli44 / renice-audio.sh
Last active November 21, 2019 14:31 — forked from redolent/renice-audio.sh
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")