naelstrof / maim

maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
Other
2.13k stars 78 forks source link

Save and copy to clipboard #277

Closed DeaDvey closed 1 year ago

DeaDvey commented 1 year ago

I want to be able to select an area (selection) and copy it to clipboard using copyq and also save to ~/Screenshots, how do I do this? I've tried a few different things, here is my code that just copies it to clipboard: maim -s --format png /dev/stdout | copyq copy image/png - | -u