diff options
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r-- | sway/sway-output.5.scd | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd index 4159a851..7d088d5d 100644 --- a/sway/sway-output.5.scd +++ b/sway/sway-output.5.scd | |||
@@ -24,7 +24,7 @@ must be separated by one space. For example: | |||
24 | 24 | ||
25 | # COMMANDS | 25 | # COMMANDS |
26 | 26 | ||
27 | *output* <name> mode|resolution|res [--custom] <WIDTHxHEIGHT>[@<RATE>Hz] | 27 | *output* <name> mode|resolution|res [--custom] <width>x<height>[@<rate>Hz] |
28 | Configures the specified output to use the given mode. Modes are a | 28 | Configures the specified output to use the given mode. Modes are a |
29 | combination of width and height (in pixels) and a refresh rate that your | 29 | combination of width and height (in pixels) and a refresh rate that your |
30 | display can be configured to use. For a list of available modes for each | 30 | display can be configured to use. For a list of available modes for each |
@@ -72,13 +72,11 @@ must be separated by one space. For example: | |||
72 | 72 | ||
73 | *output* <name> scale <factor> | 73 | *output* <name> scale <factor> |
74 | Scales the specified output by the specified scale _factor_. An integer is | 74 | Scales the specified output by the specified scale _factor_. An integer is |
75 | recommended, but fractional values are also supported. If a fractional | 75 | recommended, but fractional values are also supported. You may be better |
76 | value are specified, be warned that it is not possible to faithfully | 76 | served by setting an integer scale factor and adjusting the font size of |
77 | represent the contents of your windows - they will be rendered at the next | 77 | your applications to taste. HiDPI isn't supported with Xwayland clients |
78 | highest integer scale factor and downscaled. You may be better served by | 78 | (windows will blur). A fractional scale may be slightly adjusted to match |
79 | setting an integer scale factor and adjusting the font size of your | 79 | requirements of the protocol. |
80 | applications to taste. HiDPI isn't supported with Xwayland clients (windows | ||
81 | will blur). | ||
82 | 80 | ||
83 | *output* <name> scale_filter linear|nearest|smart | 81 | *output* <name> scale_filter linear|nearest|smart |
84 | Indicates how to scale application buffers that are rendered at a scale | 82 | Indicates how to scale application buffers that are rendered at a scale |
@@ -119,12 +117,20 @@ must be separated by one space. For example: | |||
119 | Enables or disables the specified output (all outputs are enabled by | 117 | Enables or disables the specified output (all outputs are enabled by |
120 | default). | 118 | default). |
121 | 119 | ||
120 | As opposed to the _power_ command, the output will lose its current | ||
121 | workspace and windows. | ||
122 | |||
122 | *output* <name> toggle | 123 | *output* <name> toggle |
123 | Toggle the specified output. | 124 | Toggle the specified output. |
124 | 125 | ||
126 | *output* <name> power on|off|toggle | ||
127 | Turns on or off the specified output. | ||
128 | |||
129 | As opposed to the _enable_ and _disable_ commands, the output keeps its | ||
130 | current workspaces and windows. | ||
131 | |||
125 | *output* <name> dpms on|off|toggle | 132 | *output* <name> dpms on|off|toggle |
126 | Enables or disables the specified output via DPMS. To turn an output off | 133 | Deprecated. Alias for _power_. |
127 | (ie. blank the screen but keep workspaces as-is), one can set DPMS to off. | ||
128 | 134 | ||
129 | *output* <name> max_render_time off|<msec> | 135 | *output* <name> max_render_time off|<msec> |
130 | Controls when sway composites the output, as a positive number of | 136 | Controls when sway composites the output, as a positive number of |