Closed ChrisLane closed 3 years ago
This seems to be an issue in the manpage wording. -i
does require an argument. maim will capture the root window if -i
is not specified. See -w
for an example of better wording:
-w, --parent=WINDOW
By default, maim assumes the --geometry values are in respect to the
provided --window (or root if not provided). This parameter overrides
this behavior by making the geometry be in respect to whatever window
you provide to --parent. Allows for an integer, hex, or `root` for in‐
put.
Trying to run
maim -iu image.png
doesn't work anymore, instead an error is outputted:According to the man page the -i option "defaults to the root window" and so this error shouldn't occur.