Maim

Take screenshot of a selection of the screen and put it in the clipboard


maim -su | xclip -selection clipboard -t image/png -i