diff --git a/.bin/current-bt-audio b/.bin/current-bt-audio new file mode 100755 index 0000000..70d0d7a --- /dev/null +++ b/.bin/current-bt-audio @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +sink=$(pacmd list-sinks \ + | grep "bluez.alias" \ + | cut -d' ' -f3 \ + | tr -d \" \ + | xargs) + +echo "$sink"