X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.local%2Fbin%2Fscr;h=32e550c806bee61f89151d9011c44e4da544de0f;hb=2218de46f7dae92722654e53d86d81254a208cc5;hp=5a888fc5391456e5af4808f0ff0dfbe38bce1f30;hpb=8ffc85024b913df6d6a6c6a8113306b8892ed108;p=dotfiles.git diff --git a/x/.local/bin/scr b/x/.local/bin/scr index 5a888fc..32e550c 100755 --- a/x/.local/bin/scr +++ b/x/.local/bin/scr @@ -2,5 +2,5 @@ [ "$#" -eq 1 ] && CROP="$(slop -t 0 -f "-crop %g")" URL="scr/$(date +%F_%H-%M-%S).png" import -window root $CROP png:- | \ - ssh ygdrassil ssh martlubbers.net "cat \> public_html/$URL" -echo "https://martlubbers.net/$URL" | xclip -f | xargs -I{} notify-send {} + ssh ygdrassil ssh martlubbers.net "cat \> public_html/$URL" +echo "http://martlubbers.net/$URL" | cloo.gl | xclip -f | xargs -I{} notify-send {}