#!/bin/sh maim -i "$(xdotool getactivewindow)" /tmp/shot.png xclip -selection clipboard -t image/png -i /tmp/shot.png