initial commit

This commit is contained in:
2018-08-28 13:50:46 +03:00
commit e70d6063e5
9 changed files with 226 additions and 0 deletions

8
screenshot_to_url_remote.sh Executable file
View 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