tushot: always upload to imgur - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 4a46d7e426159b0b2994fae939fbc1e0b1694630
(DIR) parent d3d8afe152e110c13fce9ca82ad782a7fdecaa0b
(HTM) Author: z3bra <willy@mailoo.org>
Date: Sun, 8 Feb 2015 12:04:00 +0100
ushot: always upload to imgur
Diffstat:
M ushot | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/ushot b/ushot
t@@ -2,7 +2,7 @@
FILE=${1:-/dev/null}
-xscreenshot | if2png | tee $FILE | imgurup | xsel
+xscreenshot | if2png | tee $FILE | imgurup
-xsel -o
+sed 1q ~/.imgurlog | xsel -pi
test -n "$1" && meh $1