I know how to rotate the screen in Xorg using
xrandr or in Wayland using the
gnome-control-center GUI, but is there a way to do it in Wayland using a command line interface or an API call ?
Context: I have a convertible laptop which is not supported by
iio-sensor-proxy, and I would like to use a script or shortcut to quickly rotate the screen. Going back to Xorg is not an option.