commit db8f3408d4294830b094d0c04cf8d1f0cbccfa3e
parent 7897510be55cfcd0028d3210e3fa0d71aafc95e2
Author: Stefan Koch <taikano@lavabit.com>
Date: Tue, 11 Jun 2013 11:14:49 +0200
added complete code
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -24,6 +24,14 @@ command for `subprocess`. The latter one is a list of command parts where
you split your command at spaces, i.e. `firefox -safe-mode` would become
`['firefox', '-safe-mode']`.
+The complete entry would then look like this:
+
+```python
+gestures = [
+ ([UP, DOWN, UP], ['firefox', '-safe-mode'])
+]
+```
+
Pay attention to the fact that there are no quotation marks around directions
like `UP` and `DOWN`, because these are special keywords by gestures.