Quickshell


I3Monitor: QtObject

uncreatable
import Quickshell.I3
I3/Sway monitors
  • focused bool
    readonly

    Whether this monitor is currently in focus

  • focusedWorkspace I3Workspace
    readonly

    The current workspace

  • height int
    readonly

    The height in pixels of this monitor

  • id int
    readonly

    The ID of this monitor

  • lastIpcObject unknown
    readonly

    Last JSON returned for this monitor, as a JavaScript object.

    This updates every time Quickshell receives an output event from i3/Sway

  • name string
    readonly

    The name of this monitor

  • power bool
    readonly

    Wether this monitor is turned on or not

  • scale real
    readonly

    The scaling factor of this monitor, 1 means it runs at native resolution

  • width int
    readonly

    The width in pixels of this monitor

  • x int
    readonly

    The X coordinate of this monitor inside the monitor layout

  • y int
    readonly

    The Y coordinate of this monitor inside the monitor layout