Skip to content

Instantly share code, notes, and snippets.

@Vixtron
Created June 8, 2019 14:35
Show Gist options
  • Save Vixtron/0b06c824d4adaee8984c27a9d3892f80 to your computer and use it in GitHub Desktop.
Save Vixtron/0b06c824d4adaee8984c27a9d3892f80 to your computer and use it in GitHub Desktop.
Custom maim uploader
#!/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