Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Toggle Bluetooth
# copy blueutil from to ~/bin
# I created this as a Shell Extension in Alfred and assigned a global hotkey to it (Command+Ctrl-B)
if ~/bin/blueutil status|grep -q on; then ~/bin/blueutil off; else ~/bin/blueutil on;fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment