getres

Get the screen resolution of this computer.

usage: getres [opts]

Get the screen resolution of this computer.

Options:
  -v|--verbose   Print diagnostic information
  --no-fail      Fall back to a reasonable default resolution if this
                 computer's resolution can't be deduced