pomfclip is a script for taking a screenshot and uploading it to pomf.se
It will compress the screenshot with optipng before uploading, if optipng is installed.
Based on pomfload:
- https://gist.github.com/Shizmob/7984374 (Shizmob's original version)
- https://gist.github.com/ctgrl/9036808 (ctgrl's update)
- https://gist.github.com/ScoreUnder/eb51d699cc908b789df9 (my "what is jq" version)
See the upload list command
pomfclipfor taking screenshots and uploading.pomfclip --service=0x0pomfloadfor uploading to pomf-like sites.uploadto wrap configurations for pomfload to upload to various sites. Seeupload list. Syntax isupload SERVICE FILE1 [FILE2 ...]
- jq for json parsing
- All the requirements of
upload(anduploaditself) - A screenshot tool (scrot, shutter, etc.)
- Bear in mind that scrot and imagemagick often leave artifacts on the resultant images
- (optional) xsel to copy the URL to the clipboard
- (optional) optipng to compress the screenshot
- (optional) something to keybind the script with