======================================== Type deai.plugin.xorg.randr:OutputConfig ======================================== .. lua:module:: deai.plugin.xorg.randr.OutputConfig Output configuration. Note all fields except `match` are optional. Properties ========== .. list-table:: :header-rows: 0 * - :lua:attr:`down ` - The monitor below the matched monitor. * - :lua:attr:`height ` - The height of the output in pixels. * - :lua:attr:`left ` - The monitor to the left of the matched monitor. * - :lua:attr:`match ` - The monitor or output this configuration applies to. * - :lua:attr:`right ` - The monitor to the right of the matched monitor. * - :lua:attr:`up ` - The monitor above the matched monitor. * - :lua:attr:`width ` - The width of the output in pixels. * - :lua:attr:`x ` - The x coordinate of the top-left corner of the output in pixels. * - :lua:attr:`y ` - The y coordinate of the top-left corner of the output in pixels. .. lua:attribute:: down: [MonitorInfo] :type: :lua:mod:`[MonitorInfo] ` The monitor below the matched monitor. .. lua:attribute:: height: integer :type: integer The height of the output in pixels. When either `width` or `height` is not specified, the preferred mode is used. .. lua:attribute:: left: [MonitorInfo] :type: :lua:mod:`[MonitorInfo] ` The monitor to the left of the matched monitor. An array of `MonitorInfo`. They are used the same way as `match. The same applies to `right`, `up`, and `down`. .. lua:attribute:: match: MonitorInfo :type: :lua:mod:`MonitorInfo ` The monitor or output this configuration applies to. Monitor are matched the same way as described in :lua:mod:`~deai.plugin.xorg.RandrExt.find_output` .. lua:attribute:: right: [MonitorInfo] :type: :lua:mod:`[MonitorInfo] ` The monitor to the right of the matched monitor. .. lua:attribute:: up: [MonitorInfo] :type: :lua:mod:`[MonitorInfo] ` The monitor above the matched monitor. .. lua:attribute:: width: integer :type: integer The width of the output in pixels. When either `width` or `height` is not specified, the preferred mode is used. .. lua:attribute:: x: integer :type: integer The x coordinate of the top-left corner of the output in pixels. .. lua:attribute:: y: integer :type: integer The y coordinate of the top-left corner of the output in pixels.