summary refs log tree commit diff
path: root/bin/scrot-upload
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2014-03-29 17:45:18 -0400
committerJune McEnroe <june@causal.agency>2014-03-29 17:45:18 -0400
commit830dc3c4d8d847df5ace7c376fb5b73f465b3760 (patch)
tree92cead167ef831f645edd1f7184d016a95a14602 /bin/scrot-upload
parentAdd HQ HTTP stream MPD output (diff)
downloadsrc-830dc3c4d8d847df5ace7c376fb5b73f465b3760.tar.gz
src-830dc3c4d8d847df5ace7c376fb5b73f465b3760.zip
Add scrot-upload
Diffstat (limited to 'bin/scrot-upload')
-rwxr-xr-xbin/scrot-upload3
1 files changed, 3 insertions, 0 deletions
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"'