All posts

Connect to Beats headphones from command-line

0 min read
#!/usr/bin/env bash

# Requirements:
# - Add https://github.com/lapfelix/BluetoothConnector/ to $PATH

mac=`BluetoothDeviceConnector | grep 'Beats Studio³' | awk '{print $1}'`
BluetoothDeviceConnector $mac

Thanks for reading! You can check out my projects on GitHub or follow me on Twitter.