The wlr-randr package provides a utility to manage outputs of a Wayland compositor. wlr-randr can query display information and set display resolution and refresh rate.
Install wlr-randr by running the following commands:
mkdir build &&
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release &&
ninja
Now, as the root user:
ninja install
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.