- Created by vegardinho
- 🗓 Last Updated: 10/09/23 10:39:00
- 🌟 Stars on GitHub: 85
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Latest Release
- Get Source Code
From their README
Alfred Workflow: Bluetooth Controller
A powerful toolkit for managing your bluetooth connections. Includes Remote Trigger, to manage your Bluetooth devices on the big screen.
Contents
Installation
- 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.
- Enjoy!
Usage
Commands
Manage bluetooth status
- Turn bluetooth on:
bton
- Turn bluetooth off:
btoff
- Toggle bluetooth status:
bttoggle
- Reset (disable, wait 1.5 seconds, enable:
btreset
Toggle Device Connections
- Connect/disconnect from device:
btd
+device name
Manage favorite device
- 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/Unpair Device
- Pair:
btp
+device name
- Wait 5 seconds for results to show up.
- Unpair:
btd
+device name
+ press modifier keycmd
Large-Type Bluetooth Status
- See status of bluetooth connection and paired devices.
btstatus
Safe Mode
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.)
Remote triggers
Most, or all, the listed commands have their own Remote Trigger. (You're welcome to add ones that are missing.)
Troubleshooting
Remove quarantine with terminal
Use the following command once in directory:
- Blueutil:
xattr -d com.apple.quarantine ./blueutil
- Notificator:
xattr -d com.apple.quarantine ./notificator
Installation images
Screenshots
Attribution
- blueutil binary is used for bluetooth functionality.
- notificator binary is used for notifications.