added "near tetrahedal" configs + made movies work!
[lectures/latex.git] / posic / talks / xpdfplayer
diff --git a/posic/talks/xpdfplayer b/posic/talks/xpdfplayer
new file mode 100755 (executable)
index 0000000..06c3934
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#
+# copy to /usr/bin
+# 
+# enhance: if $1 is a url ... start firefox not mplayer!
+#
+
+file=`echo $1 | awk -F: '{ print $2 }'`
+
+echo "playing $file ..."
+
+mplayer -fs $file
+
+echo "done"
+