first commit
[archive.git] / ASCHE_0 / code / SH / uploadscr
blob27f5867dd6140f6e5eac85198c1a11b1a6683a60
1 #!/bin/bash
3 img="/tmp/scr.png"
5 if [ "$2" = "-m" ]; then
6 import -window mplayer $img
7 else
8 import -window root $img
9 fi
11 xterm -e "/home/asche/bin/uploadimg $1 $img"
13 rm $img