aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-output.5.scd
diff options
context:
space:
mode:
authorDavid Rosca <nowrep@gmail.com>2021-07-18 12:05:47 +0200
committerSimon Ser <contact@emersion.fr>2021-08-31 17:29:40 +0200
commit57d6f6f19e3088dcb8e202acade8c39a80075b4a (patch)
treea1efb14a17b60ac278c1221ed907671a822dabfd /sway/sway-output.5.scd
parentdaaec72ac01f66fda8b3eabe6e11e461f2e0f31d (diff)
Add `output modeline` command
Only works with DRM backend.
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r--sway/sway-output.5.scd10
1 files changed, 10 insertions, 0 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index 2828c841..55d8f719 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:
output HDMI-A-1 mode 1920x1080@60Hz
+*output* <name> modeline <clock> <hdisplay> <hsync_start> <hsync_end> <htotal> <vdisplay> <vsync_start> <vsync_end> <vtotal> <hsync> <vsync>
+ Configures the specified output to use the given modeline. It can be
+ generated using *cvt*(1) and *gtf*(1) commands. See *xorg.conf*(5).
+ Only supported on DRM backend.
+
+ Example:
+
+ output HDMI-A-1 modeline 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
+
+
*output* <name> position|pos <X> <Y>
Places the specified output at the specific position in the global
coordinate space. The cursor may only be moved between immediately