Merge branch 'master' of github.com:dopefishh/dotfiles
[dotfiles.git] / x / .local / bin / scr
1 #!/bin/sh -e
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 {}