From 740ca699fc515b147c7bc0a448838340b7761786 Mon Sep 17 00:00:00 2001 From: xfnw Date: Sun, 8 Nov 2020 21:31:16 -0500 Subject: [PATCH] scrot script too --- u.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/u.php b/u.php index 96e5e2e..3c8aabc 100644 --- a/u.php +++ b/u.php @@ -94,6 +94,9 @@ upload file.png # paste function paste(){ curl -F"file=@-" https://xfnw.ttm.sh/u.php } cat something.txt | paste + +# auto upload your screenshots +scrot -e 'curl -F"file=@$f" https://xfnw.ttm.sh/u.php | xclip -selection clipboard'

or