Created
June 8, 2019 14:35
-
-
Save Vixtron/0b06c824d4adaee8984c27a9d3892f80 to your computer and use it in GitHub Desktop.
Custom maim uploader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
localname="$HOME/Pictures/Screenshots/$(date +%s).png" | |
maim -s > "$localname" | |
curl -XPOST 'https://vix.lol/upload.php' -F 'key=' -F "d=@$localname" | xclip -selection clipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment