From c0707e550d5e3cb84f0c3d565365d1e6ca23c411 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 29 Mar 2014 17:45:18 -0400 Subject: Add scrot-upload --- bin/scrot-upload | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/scrot-upload (limited to 'bin') diff --git a/bin/scrot-upload b/bin/scrot-upload new file mode 100755 index 00000000..89faeb64 --- /dev/null +++ b/bin/scrot-upload @@ -0,0 +1,3 @@ +#!/bin/bash + +scrot $@ -e 'scp -q $f ec2.cmcenroe.me:www/ss; mv $f ~/Pictures/screenshots; echo -n "http://ec2.cmcenroe.me/ss/$n" | xclip -selection clipboard; notify-send -i up "Screenshot uploaded" "$n"' -- cgit 1.4.1