aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-output.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-12-27 11:25:48 -0500
committerLibravatar emersion <contact@emersion.fr>2018-12-29 17:25:29 +0100
commit4503ad2d19d5039259b572729115fef149f1b44e (patch)
tree7407fb0c48ca602472bd9891b916ca3f5310a8bb /sway/sway-output.5.scd
parentAdd failure reply on IPC_SYNC (diff)
downloadsway-4503ad2d19d5039259b572729115fef149f1b44e.tar.gz
sway-4503ad2d19d5039259b572729115fef149f1b44e.tar.zst
sway-4503ad2d19d5039259b572729115fef149f1b44e.zip
sway-output(5): doc scaling consideration for pos
This copies the information regarding positioning outputs when there is scaling involved from the wiki to sway-output(5).
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r--sway/sway-output.5.scd14
1 files changed, 13 insertions, 1 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index aca5f955..9940d8e8 100644
--- a/sway/sway-output.5.scd
+++ b/sway/sway-output.5.scd
@@ -36,7 +36,19 @@ must be separated by one space. For example:
36 36
37*output* <name> position|pos <X> <Y> 37*output* <name> position|pos <X> <Y>
38 Places the specified output at the specific position in the global 38 Places the specified output at the specific position in the global
39 coordinate space. 39 coordinate space. If scaling is active, it has to be considered when
40 positioning. For example, if the scaling factor for the left output is 2,
41 the relative position for the right output has to be divided by 2.
42
43 Example:
44
45 output HDMI1 scale 2
46
47 output HDMI1 pos 0 0 res 3200x1800
48
49 output eDP1 pos 1600 0 res 1920x1080
50
51 Note that the x-pos of eDP1 is 1600 = 3200/2.
40 52
41*output* <name> scale <factor> 53*output* <name> scale <factor>
42 Scales the specified output by the specified scale _factor_. An integer is 54 Scales the specified output by the specified scale _factor_. An integer is