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.
Why do you think that https://github.com/Itsnexn/dotfiles is a good alternative to maim