Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

mikeoertli/alfred-airpods-connector

 
 

Repository files navigation

Alfred Airpods Connector

No Longer Maintained

I don't know if the original fork of the repo is still being maintained, but I have stopped using Alfred in favor of Raycast.

I have heard that this might have issues with newer macOS versions, sorry I wont' have a chance to fix it!


This Alfred v4 workflow helps you to quickly connect to your AirPods using the Alfred search or a hotkey.

Check out the Raycast variant too, if you use Raycast instead/also.

Demo

Workflow demo

Installation

  1. Using brew, install/update BluetoothConnector utility using

    brew install bluetoothconnector

    or

    brew update && brew upgrade bluetoothconnector
  2. Download the workflow file ↗ here and import it into Alfred.

It is recommended to have HOMEBREW_PREFIX defined, for M1 Macs this will be /opt/homebrew/.

Debug

If you encounter any errors running the workflow double-check the steps above and test whether you have Python 3.x installed on your system (Python 2.x is no longer 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 Marius Kießling (@mariuskiessling) for creating the original workflow
  • Big thanks to Daniel Schäfer (@JohnAZoidberg) for helping design the RegEx used in this workflow.

About

Quickly connect your AirPods 🎧 using this Alfred workflow!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%