scrot script too

This commit is contained in:
xfnw 2020-11-08 21:31:16 -05:00
parent 0b940386bb
commit 740ca699fc

3
u.php
View file

@ -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'
</pre>
<p>or</p>