2 [ "$#" -ne 1 ] && CROP
="" || CROP
="-window root"
3 URL
="scr/$(date +%F_%H-%M-%S).png"
4 import
$CROP png
:- |
ssh helheim
cat \
> /var
/www
/martlubbers.net
/$URL
5 echo "http://martlubbers.net/$URL" | cloo.gl | xclip
-f |
xargs -I{} notify-send
{}