Created
March 1, 2013 03:03
-
-
Save anonymous/5062172 to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shell Function | |
#------------------------------------------------------------------------------ | |
# kacha and paste to immio. Default to 70% quality | |
function kacha_immio { scrot /tmp/scrot_tmp.png -d 3 -q 75 -m && curl -s --form image=@/tmp/scrot_tmp.png --form submit=OK http://imm.io/store/ | awk -F '\"[:,]\"' '{print $4}' | tee >(xsel) && rm /tmp/scrot_tmp.png; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment