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.
I ran the maim -s | xclip .. example from the readme, and was initially surprised that when I switched back to Firefox to screenshot the readme to test, that the crosshair disappeared. (I use i3, so switching back to Firefox meant keystrokes.)
I thought maybe that's ok, if I run it from a keyboard shortcut I'm less likely to want to press anything else before I take the screenshot, but then I found the --nokeyboard option, so that's ok anyway.
What would be good I think though is the ability to add a key(s) back in, Esc, for example. I'd perhaps even argue that any key cancelling it is quite a surprising default; but certainly Esc comes more naturally to me to cancel than right-click for some reason, despite obviously already using the mouse to make the selection.
I ran the
maim -s | xclip ..
example from the readme, and was initially surprised that when I switched back to Firefox to screenshot the readme to test, that the crosshair disappeared. (I use i3, so switching back to Firefox meant keystrokes.)I thought maybe that's ok, if I run it from a keyboard shortcut I'm less likely to want to press anything else before I take the screenshot, but then I found the
--nokeyboard
option, so that's ok anyway.What would be good I think though is the ability to add a key(s) back in, Esc, for example. I'd perhaps even argue that any key cancelling it is quite a surprising default; but certainly Esc comes more naturally to me to cancel than right-click for some reason, despite obviously already using the mouse to make the selection.