Update README.md

This commit is contained in:
Lars Norpchen 2013-05-09 15:38:03 -06:00
parent c6363ea046
commit 905c3dbea6

View file

@ -1,10 +1,10 @@
Added support for system commands at print start, print end, print cancelled and z-height change. Add the commands to run to the config.yaml file:
system_commands:
cancelled: echo cancelled _FILE_ at _PROGRESS_ percent done.
print_done: growlnotify "done with _FILE_"
print_started: echo starting _FILE_
z_change: echo _LINE_ _PROGRESS_ _ZHEIGHT_
system_commands:
cancelled: echo cancelled _FILE_ at _PROGRESS_ percent done.
print_done: growlnotify "done with _FILE_"
print_started: echo starting _FILE_
z_change: echo _LINE_ _PROGRESS_ _ZHEIGHT_
These commands take the tokens take _FILE_, _PERCENT_, _LINES_ and _ZHEIGHT_ which will be passed to external commands.