From 4263d775580e6e2bf3122eb6c24d601fb34a2354 Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 28 Nov 2018 20:21:32 -0700 Subject: migrate home site domain --- .config/init/funcs/ssh-scrot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.config/init/funcs/ssh-scrot') diff --git a/.config/init/funcs/ssh-scrot b/.config/init/funcs/ssh-scrot index 1e6a90c..8fa243c 100755 --- a/.config/init/funcs/ssh-scrot +++ b/.config/init/funcs/ssh-scrot @@ -14,13 +14,13 @@ fi local date=$(date +'%Y-%m-%d') local folder="http/img/scrot" -ssh shmibbles.me "mkdir -p $folder/$date" +ssh airen-no-jikken.icu "mkdir -p $folder/$date" if [[ "${?#0}" != "" ]]; then return 1 fi -ssh shmibbles.me "cd $folder; rm current 2>/dev/null; ln -s $date current" +ssh airen-no-jikken.icu "cd $folder; rm current 2>/dev/null; ln -s $date current" for i in {3..1}; do echo -n "$i " @@ -33,12 +33,12 @@ sleep .1 scrot /tmp/$name.png convert -scale 250x /tmp/$name.png /tmp/${name}_small.png -scp /tmp/$name.png /tmp/${name}_small.png shmibbles.me:http/img/scrot/$date +scp /tmp/$name.png /tmp/${name}_small.png airen-no-jikken.icu:http/img/scrot/$date -echo "https://shmibbles.me/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection clipboard -echo "https://shmibbles.me/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection primary -echo "https://shmibbles.me/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection clipboard -echo "https://shmibbles.me/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection primary +echo "https://airen-no-jikken.icu/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection clipboard +echo "https://airen-no-jikken.icu/img/scrot/$date/$name.png" | tr -d '\n' | xclip -i -selection primary +echo "https://airen-no-jikken.icu/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection clipboard +echo "https://airen-no-jikken.icu/img/scrot/$date/${name}_small.png" | tr -d '\n' | xclip -i -selection primary echo 'sent!' -- cgit v1.2.3