Would it be possible to automatically determine the device screen resolution? (I know that this can be done in QML, but don't know if there's a command-line method that works with Wayland.)