X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.local%2Fbin%2Fscr;h=f34ccaf027725465ba02d9d9af2c7900ab25317c;hb=139a21003b07452b08c8d721d1f9342c5320d10e;hp=dfe5edd9a5472696a4e879875868808a14e351e8;hpb=ae833e18bdf78a15ff3db3c1c616ee5a0850273d;p=dotfiles.git diff --git a/x/.local/bin/scr b/x/.local/bin/scr index dfe5edd..f34ccaf 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 helheim cat \> /var/www/martlubbers.net/$URL +echo "http://martlubbers.net/$URL" | cloo.gl | xclip -f | xargs -I{} notify-send {}