My personal dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
239 B

#!/bin/bash
scrot -q 100 -s ~/Pictures/pic_for_upload.png
scp ~/Pictures/pic_for_upload.png vps:~
R=`~/bin/anumgen 8`
echo emacs.guru/image/$R.png | xclip -selection clipboard
echo $R | ssh vps "cat > ~/upload_string && ~/process_photo"