Resolution

Crate to retrieve screen resolution/dimensions on Linux and macOS.

Rational

I have rewrite this same code so many times that it justifies existing.

Install

sh cargo add resolution

Interface

It receives no parameter and returns current screen’s (width, height).

License