I keep forgetting that there is a whole new crowd of linux users that aren't hackers of any kind. My /usr/scripts folder is full of little 2-minute gems like this that seemed too trivial to share. I guess it finally is starting to (slowly) go mainstream. Good times.
Nice script. I use Shutter with a keyboard shortcut myself.
ReplyDeleteI keep forgetting that there is a whole new crowd of linux users that aren't hackers of any kind. My /usr/scripts folder is full of little 2-minute gems like this that seemed too trivial to share. I guess it finally is starting to (slowly) go mainstream. Good times.
ReplyDeletesimplified:
ReplyDelete#!/bin/bash
sleep .2
filename=~/Dropbox/Public/temp/$(date +%Y%m%d%S).png
scrot -s $filename
dropbox puburl $filename | xclip -selection c