Single-button shortcut for "Do not Disturb" Is there a way I can bind a single key on my keyboard to toggle "Do not Disturb"?

It would be more convenient that opening up the notification center and moving that awkward slider.

I do think that you can bind a key to a script, so a command line option for "Do not Disturb" would work as well, so if there is a command-line tool to enable/disable "Do not Disturb" then I will take that as an answer (since I am muy familiar with bash and applescript).
Sure. Download the ruby script from https://gist.github.com/samnung/c7e767167cf70531ccdc and then just make a bash wrapper to call it.

do_not_disturb.rb on


You'll may want a tool like FastScripts to call the script (and if so, place your bash calling script in ~/Library/Scripts for it to show up there nicely)