#!/bin/sh FILE=~/Pictures/$(date --iso-8601=seconds).png scrot -izfps -F - > $FILE xclip -in -selection clipboard -target image/png < $FILE # | xclip -in -selection clipboard -target image/png \ # && xclip -out > $(echo -n ~/Pictures/$(date --iso-8601=seconds).png)