- Created by mariuskiessling
- 🗓 Last Updated: 06/03/23 14:28:08
- 🌟 Stars on GitHub: 132
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Latest Release
- Get Source Code
From their README
Alfred AirPods Connector
This Alfred workflow helps you to quickly connect to your AirPods using the Alfred search or a hotkey.
See it in action
Installation
-
Install the
BluetoothConnector
utility usingbrew install bluetoothconnector
Make sure to have
brew
installed. This will install the latest version of BluetoothConnector. Unfortunately BluetoothConnector is not @-versioned. Thus, make sure that brew installs version2.0.0+
of BluetoothConnector or upgrade usingbrew upgrade bluetoothconnector
in case you update from an older version of this workflow.
-
Download the workflow file ↗ here and import it.
In case of errors
If you encounter any errors running the workflow double-check the steps above and test whether you have Python installed on your system (version 2.7 and version 3.* are compatible with this workflow).
Usage
On your first run, you have to select the bluetooth device that are your AirPods. Once you have done this you can use the airp
keyword to connect / disconnect your AirPods. Whenever you want to change the device you can use the airp config
keyword to select a new bluetooth device.
By default, this workflow also offers the ability to trigger a connect / disconnect action using a hotkey. The default hotkey is ⌃ Ctrl + ⇧ Shift + ⌘ Cmd + A
.
Acknowledgments
- Big thanks to Daniel Schäfer (@JohnAZoidberg) for helping design the RegEx used in this workflow.