]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/mkss
safe-repositories appeared
[dotfiles.git] / bin / bin / mkss
1 #!/bin/sh -e
2
3 sleep 1
4 tmp=`mktemp`
5 trap "rm -f $tmp $tmp.png $tmp.webp $tmp.txt" HUP PIPE INT QUIT TERM EXIT
6 [ "$1" = "root" ] && root="-window root" || root=""
7 import $root $tmp.png
8 cwebpl.sh -o $tmp.webp $tmp.png
9 paster-tls $tmp.webp > $tmp.txt
10 xmessage -file $tmp.txt