public
Created

Toggle Bluetooth

  • Download Gist
bt.sh
Shell
1 2 3
# 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.