Created
January 2, 2018 12:20
-
-
Save raine/4b47958c21982a317c972d09bb89a1be to your computer and use it in GitHub Desktop.
Connect to Beats headphones from command-line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Requirements: | |
# - Add https://github.com/lapfelix/BluetoothConnector/ to $PATH | |
mac=`BluetoothDeviceConnector | grep 'Beats Studio³' | awk '{print $1}'` | |
BluetoothDeviceConnector $mac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment