-->
import Quickshell
Monitor object useful for setting the monitor for a QsWindow or querying information about the monitor.
WARNING
If the monitor is disconnected than any stored copies of its ShellMonitor will be marked as dangling and all properties will return default values. Reconnecting the monitor will not reconnect it to the ShellMonitor object.
Due to some technical limitations, it was not possible to reuse the native qml Screen type.
The ratio between physical pixels and device-independent (scaled) pixels.
The number of device-independent (scaled) pixels per millimeter.
The name of the screen as seen by the operating system.
Usually something like DP-1
, HDMI-1
, eDP-1
.
The number of physical pixels per millimeter.