scrot script too
This commit is contained in:
parent
0b940386bb
commit
740ca699fc
1 changed files with 3 additions and 0 deletions
3
u.php
3
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'
|
||||
</pre>
|
||||
|
||||
<p>or</p>
|
||||
|
|
Loading…
Reference in a new issue