A powerful toolkit for managing your bluetooth connections. Includes Remote Trigger, to manage your Bluetooth devices on the big screen.
- Download the Alfred workflow and double-click to install.
- Allow
blueutil
andnotificator
to run (remove the quarantine attribute from the bundled binary).- Open workflow folder in Finder by right clicking workflow (see image).
- Right-click on
blueutil
and click 'open' (see image). - Confirm open when dialog appears.
- Repeat with
notificator
file. - This can alternatively be done using the terminal.
- Allow Alfred to control bluetooth.
- Enjoy!
- Turn bluetooth on:
bton
- Turn bluetooth off:
btoff
- Toggle bluetooth status:
bttoggle
- Reset (disable, wait 1.5 seconds, enable:
btreset
- Connect/disconnect from device:
btd
+device name
- Set favorite device:
btsetfavorite
+device name
- Toggle connection with favorite device:
- with hotkey:
cmd-ctr-option-f
- with keyword:
btfavorite
- with hotkey:
- Remove device as favorite:
btd
+device name
+ press modifier keyshift
btsetfavorite
+device name
+ press modifier keyshift
- Pair:
btp
+device name
- Wait 5 seconds for results to show up.
- Unpair:
btd
+device name
+ press modifier keycmd
- See status of bluetooth connection and paired devices.
btstatus
Set environment variable confirm
in workflow to true
if you want to force user confirmation on toggle and
deactivation commands. (Useful for iMacs and Mac Minis who that would have trouble turning Bluetooth on again without
any input devices.)
Most, or all, the listed commands have their own Remote Trigger. (You're welcome to add ones that are missing.)
If the workflow is not working as expected, try the following:
Go to System Preferences -> Privacy & Security -> Bluetooth
and add the Alfred version you are using (in this case, Alfred 5). If you have already added Alfred, ensure it is turned on.
Use the following command once in directory:
- Blueutil:
xattr -d com.apple.quarantine ./blueutil
- Notificator:
xattr -d com.apple.quarantine ./notificator
- blueutil binary is used for bluetooth functionality.
- notificator binary is used for notifications.