Quickshell


ShellScreen: QtObject

uncreatable
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.

  • devicePixelRatio real
    readonly

    The ratio between physical pixels and device-independent (scaled) pixels.

  • height int
    readonly
    No details provided
  • logicalPixelDensity real
    readonly

    The number of device-independent (scaled) pixels per millimeter.

  • name string
    readonly

    The name of the screen as seen by the operating system.

    Usually something like DP-1, HDMI-1, eDP-1.

  • orientation unknown
    readonly
    No details provided
  • physicalPixelDensity real
    readonly

    The number of physical pixels per millimeter.

  • primatyOrientation unknown
    readonly
    No details provided
  • width int
    readonly
    No details provided
  • x int
    readonly
    No details provided
  • y int
    readonly
    No details provided
  • toString() string
    No details provided