X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.local%2Fbin%2Fscr;h=c54bf98a5b340b23387b5e2046045e036ccaff1f;hb=HEAD;hp=ab6e6c2ef1d21ce39961b085678a547c81a00260;hpb=5d0ccc4a8c7847b067d7ed5e5aae5711eedd8c8a;p=dotfiles.git diff --git a/x/.local/bin/scr b/x/.local/bin/scr index ab6e6c2..c54bf98 100755 --- a/x/.local/bin/scr +++ b/x/.local/bin/scr @@ -1,5 +1,5 @@ #!/bin/sh -e [ "$#" -ne 1 ] && CROP="" || CROP="-window root" URL="scr/$(date +%F_%H-%M-%S).png" -import $CROP png:- | ssh helheim cat \> /var/www/martlubbers.net/$URL -echo "http://martlubbers.net/$URL" | cloo.gl | xclip -f | xargs -I{} notify-send {} +import $CROP png:- | ssh helheim2 cat \> /var/www/martlubbers.net/$URL +echo "http://martlubbers.net/$URL" | xclip -f | xargs -I{} notify-send {}