Create a gist now

Instantly share code, notes, and snippets.

Toggle Bluetooth
# copy blueutil from http://www.frederikseiffert.de/blueutil/ 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