ShellScreen: QtObject [uncreatable]

import Quickshell

Properties

Functions

Detailed Description

Monitor object useful for setting the monitor for a ShellWindow or querying information about the monitor.

⚠️
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.

Property Details

[readonly]

devicePixelRatio: real

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

[readonly]

height: int

No details provided.

[readonly]

logicalPixelDensity: real

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

[readonly]

name: string

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

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

[readonly]

orientation: unknown

No details provided.

[readonly]

physicalPixelDensity: real

The number of physical pixels per millimeter.

[readonly]

primatyOrientation: unknown

No details provided.

[readonly]

width: int

No details provided.

[readonly]

x: int

No details provided.

[readonly]

y: int

No details provided.

Function Details

string toString()

No details provided.