summaryrefslogtreecommitdiff
path: root/doc/shot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/shot.sh')
-rwxr-xr-xdoc/shot.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/shot.sh b/doc/shot.sh
new file mode 100755
index 0000000000..b67be7074c
--- /dev/null
+++ b/doc/shot.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+DIR=$1
+shift
+FILE=$1
+shift
+
+export ELM_THEME=default
+export ELM_SCALE=1.0
+export ELM_ENGINE=shot:delay=3:file=$DIR/$FILE
+export ELM_DISPLAY=shot
+export ILLUME_KBD=0,0,240,123
+export ILLUME_IND=0,0,240,32
+export ILLUME_STK=0,288,240,32
+
+mkdir -p $DIR || true
+
+exec $@