initial commit
This commit is contained in:
8
screenshot_to_url_remote.sh
Executable file
8
screenshot_to_url_remote.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
file=$(date +"%Y-%m-%d-%T.png")
|
||||
maim -s "/tmp/$file" -b 1
|
||||
# link=$(proxychains4 curl -s -F file=@"/tmp/$file" https://www.smirky.net/upload/upload.php | grep https | cut -d\" -f2 2>/dev/null)
|
||||
link=$(curl -s -F file=@"/tmp/$file" https://www.smirky.net/upload/upload.php | grep https | cut -d\" -f2 2>/dev/null)
|
||||
rm -f "/tmp/$file"
|
||||
notify-send "$link"
|
||||
printf "%s" "$link" | xclip -selection clip-board
|
||||
Reference in New Issue
Block a user