diff --git a/README.md b/README.md index c5c2836..974d925 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#Today Scripts +# Today Scripts A widget for running scripts in the Today View in OS X Yosemite's Notification Center. @@ -6,7 +6,7 @@ A widget for running scripts in the Today View in OS X Yosemite's Notification C [See the wiki for a list of example scripts.](https://github.com/SamRothCA/Today-Scripts/wiki) -##Features +## Features * [Colorized Output](http://i.imgur.com/Yvj2ePG.png). Today Scripts supports colorized terminal output from your scripts, as well as bold and underline. * [Custom Labels](http://i.imgur.com/LL4s6Ao.png). Today Scripts has a form for setting up scripts, which gives you the option of picking a label to display instead of the script itself. @@ -14,7 +14,7 @@ A widget for running scripts in the Today View in OS X Yosemite's Notification C * Manually Run Scripts: Scripts may be run on command by clicking on their label. You may also specify that scripts not be run automatically when Notification Center is opened. * Output text selection: You may highlight the output of your scripts, allowing you to copy it to the clipboard or drag it where you please. -##Usage +## Usage After building, simply copy "Today Scripts.app" wherever you'd like to store it, then open it. In Notification Center, you will see "1 New" appear on the edit button, and you may use that to add Today Scripts to your Today View in order to begin using it. @@ -24,13 +24,13 @@ To start or stop a given script on demand, click its label in your list. To edit an existing script, click the "action" button to the right of its label. -##Technical Details +## Technical Details * An interpreter can be speficied using a path to any valid executable (it need not be an "interpreter" at all). The provided script is piped to the interpreter via its standard input. * Today Scripts emulates a 40-column terminal. When running a script, a pseudo-TTY is opened for it, and the standard output and standard error of it is set to that. The `COLUMNS` environment variable for scripts is set to `40`, and `PAGER` is set to `/bin/cat`. * Today Scripts supports all ANSI color sequences; both standard and bright, as well as both foreground and background. The `TERM` environment variable for scripts is set to `ansi`. -##Special Thanks +## Special Thanks Support for ANSI escape sequences made possible thanks to [Ali Rantakari's ANSIEscapeHelper](http://hasseg.org/ansiEscapeHelper/).