Skip to content

Instantly share code, notes, and snippets.

@joshuaflanagan
Created December 10, 2011 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuaflanagan/1455503 to your computer and use it in GitHub Desktop.
Save joshuaflanagan/1455503 to your computer and use it in GitHub Desktop.
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