summaryrefslogtreecommitdiff
path: root/legacy/elementary/doc/shot.sh
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-07-06 10:30:35 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-07-06 10:30:35 +0000
commitc41a756c5368e695383c905568239b7ad24ed16f (patch)
treeaa49e7f49528f47e6a901c4023d274eb5ab896a5 /legacy/elementary/doc/shot.sh
parentfe511d0609c0ba3daf1dfe3eee87967a80b14245 (diff)
a start on an example of what i was thinking of for widget docs... eg
example screenshots auto-generated by scripts when we do "make doc" with those images put in the docs for that widget. some examples of usage. SVN revision: 61078
Diffstat (limited to 'legacy/elementary/doc/shot.sh')
-rwxr-xr-xlegacy/elementary/doc/shot.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/legacy/elementary/doc/shot.sh b/legacy/elementary/doc/shot.sh
new file mode 100755
index 0000000000..793bef9b2f
--- /dev/null
+++ b/legacy/elementary/doc/shot.sh
@@ -0,0 +1,14 @@
1#!/bin/sh
2
3DIR=$1
4shift
5FILE=$1
6shift
7
8export ELM_THEME=default
9export ELM_SCALE=1.0
10export ELM_ENGINE=shot:delay=0.5:file=$DIR/$FILE
11
12mkdir -p $DIR || true
13
14exec $@