diff options
author | katherine <shmibs@airen-no-jikken.icu> | 2018-11-28 20:21:32 -0700 |
---|---|---|
committer | katherine <shmibs@airen-no-jikken.icu> | 2018-11-28 20:21:32 -0700 |
commit | 4263d775580e6e2bf3122eb6c24d601fb34a2354 (patch) | |
tree | 48e9d3bc848861ebbc95bb3e80c62cac4a99df48 /.config/init/funcs/ssh-scrot | |
parent | a61d45f4244866e12ded168fc8e224c3685a4a36 (diff) | |
download | dotfiles-4263d775580e6e2bf3122eb6c24d601fb34a2354.tar.gz |
migrate home site domain
Diffstat (limited to '.config/init/funcs/ssh-scrot')
-rwxr-xr-x | .config/init/funcs/ssh-scrot | 14 |
1 files changed, 7 insertions, 7 deletions
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!' |