summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2014-03-29 17:45:18 -0400
committerJune McEnroe <programble@gmail.com>2014-03-29 17:45:18 -0400
commitc0707e550d5e3cb84f0c3d565365d1e6ca23c411 (patch)
treed4ae658b7d314c435da86cef356e2536acd750a7
parentAdd HQ HTTP stream MPD output (diff)
downloadsrc-c0707e550d5e3cb84f0c3d565365d1e6ca23c411.tar.gz
src-c0707e550d5e3cb84f0c3d565365d1e6ca23c411.zip
Add 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"'
June McEnroe 2019-01-13Shorten $HOME to ~ in prompt expansionJune McEnroe 2019-01-13Document PSlitJune McEnroe 2019-01-13Document PS0June McEnroe 2019-01-13Set PS0 in cashJune McEnroe 2019-01-13Add PS0June McEnroe 2019-01-13Change default ENV from cashrc to env.shJune McEnroe 2019-01-13Use colours in cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe