]> hackdaworld.org Git - lectures/latex.git/blob - posic/talks/xpdfplayer
added cover txt
[lectures/latex.git] / posic / talks / xpdfplayer
1 #!/bin/bash
2
3 #
4 # copy to /usr/bin
5
6 # enhance: if $1 is a url ... start firefox not mplayer!
7 #
8
9 file=`echo $1 | awk -F: '{ print $2 }'`
10
11 echo "playing $file ..."
12
13 mplayer -fs $file
14
15 echo "done"
16