Alfred Workflow to easility switch the bluetooth connectivity of a single Magic Keyboard between several computers
- Install blueutil. You can use brew -
brew install blueutil - Ensure Alfred has Bluetooth permissions by going to Settings > Privacy and security > Bluetooth. You need to restart Alfred.
- Find out your Magic Keyboard bluetooth MAC address. With the keyboard connected, keep the Option key pressed while you click on your status bar bluetooth icon.
- Option 1 - Keyboard shortcut: Option + Command + k
- Option 2 - Alfred keyboard:
ks
It's desirable to have Alfred and this workflow installed in both computers.
First, run the workflow in the one that has the keyboard currently connected. It will disconnect it and make it discoverable. Second, run the workflow in the other computer. It should connect it.
If you enjoy my work, consider making a donation to support it!


