aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-output.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r--sway/sway-output.5.scd29
1 files changed, 27 insertions, 2 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index 69f529fe..4159a851 100644
--- a/sway/sway-output.5.scd
+++ b/sway/sway-output.5.scd
@@ -40,6 +40,16 @@ must be separated by one space. For example:
40 40
41 output HDMI-A-1 mode 1920x1080@60Hz 41 output HDMI-A-1 mode 1920x1080@60Hz
42 42
43*output* <name> modeline <clock> <hdisplay> <hsync_start> <hsync_end> <htotal> <vdisplay> <vsync_start> <vsync_end> <vtotal> <hsync> <vsync>
44 Configures the specified output to use the given modeline. It can be
45 generated using *cvt*(1) and *gtf*(1) commands. See *xorg.conf*(5).
46 Only supported on DRM backend.
47
48 Example:
49
50 output HDMI-A-1 modeline 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
51
52
43*output* <name> position|pos <X> <Y> 53*output* <name> position|pos <X> <Y>
44 Places the specified output at the specific position in the global 54 Places the specified output at the specific position in the global
45 coordinate space. The cursor may only be moved between immediately 55 coordinate space. The cursor may only be moved between immediately
@@ -112,7 +122,7 @@ must be separated by one space. For example:
112*output* <name> toggle 122*output* <name> toggle
113 Toggle the specified output. 123 Toggle the specified output.
114 124
115*output* <name> dpms on|off 125*output* <name> dpms on|off|toggle
116 Enables or disables the specified output via DPMS. To turn an output off 126 Enables or disables the specified output via DPMS. To turn an output off
117 (ie. blank the screen but keep workspaces as-is), one can set DPMS to off. 127 (ie. blank the screen but keep workspaces as-is), one can set DPMS to off.
118 128
@@ -142,11 +152,26 @@ must be separated by one space. For example:
142 Enables or disables adaptive synchronization (often referred to as Variable 152 Enables or disables adaptive synchronization (often referred to as Variable
143 Refresh Rate, or by the vendor-specific names FreeSync/G-Sync). 153 Refresh Rate, or by the vendor-specific names FreeSync/G-Sync).
144 154
145 Adaptive sync allows clients to submit frames a little to late without 155 Adaptive sync allows clients to submit frames a little too late without
146 having to wait a whole refresh period to display it on screen. Enabling 156 having to wait a whole refresh period to display it on screen. Enabling
147 adaptive sync can improve latency, but can cause flickering on some 157 adaptive sync can improve latency, but can cause flickering on some
148 hardware. 158 hardware.
149 159
160*output* <name> render_bit_depth 8|10
161 Controls the color channel bit depth at which frames are rendered; the
162 default is currently 8 bits per channel.
163
164 Setting higher values will not have an effect if hardware and software lack
165 support for such bit depths. Successfully increasing the render bit depth
166 will not necessarily increase the bit depth of the frames sent to a display.
167 An increased render bit depth may provide smoother rendering of gradients,
168 and screenshots which can more precisely store the colors of programs
169 which display high bit depth colors.
170
171 Warnings: this can break screenshot/screencast programs which have not been
172 updated to work with different bit depths. This command is experimental,
173 and may be removed or changed in the future.
174
150# SEE ALSO 175# SEE ALSO
151 176
152*sway*(5) *sway-input*(5) 177*sway*(5) *sway-input*(5)