diff options
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r-- | sway/sway-output.5.scd | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd index 9940d8e8..28524478 100644 --- a/sway/sway-output.5.scd +++ b/sway/sway-output.5.scd | |||
@@ -38,17 +38,20 @@ must be separated by one space. For example: | |||
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. If scaling is active, it has to be considered when | 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, | 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. | 41 | the relative position for the right output has to be divided by 2. The |
42 | reference point is the top left corner so if you want the bottoms aligned | ||
43 | this has to be considered as well. | ||
42 | 44 | ||
43 | Example: | 45 | Example: |
44 | 46 | ||
45 | output HDMI1 scale 2 | 47 | output HDMI1 scale 2 |
46 | 48 | ||
47 | output HDMI1 pos 0 0 res 3200x1800 | 49 | output HDMI1 pos 0 1020 res 3200x1800 |
48 | 50 | ||
49 | output eDP1 pos 1600 0 res 1920x1080 | 51 | output eDP1 pos 1600 0 res 1920x1080 |
50 | 52 | ||
51 | Note that the x-pos of eDP1 is 1600 = 3200/2. | 53 | Note that the left x-pos of eDP1 is 1600 = 3200/2 and the bottom y-pos is |
54 | 1020 + (1800 / 2) = 1920 = 0 + 1920 | ||
52 | 55 | ||
53 | *output* <name> scale <factor> | 56 | *output* <name> scale <factor> |
54 | Scales the specified output by the specified scale _factor_. An integer is | 57 | Scales the specified output by the specified scale _factor_. An integer is |
@@ -57,7 +60,8 @@ must be separated by one space. For example: | |||
57 | represent the contents of your windows - they will be rendered at the next | 60 | represent the contents of your windows - they will be rendered at the next |
58 | highest integral scale factor and downscaled. You may be better served by | 61 | highest integral scale factor and downscaled. You may be better served by |
59 | setting an integral scale factor and adjusting the font size of your | 62 | setting an integral scale factor and adjusting the font size of your |
60 | applications to taste. | 63 | applications to taste. HiDPI isn't supported with Xwayland clients (windows |
64 | will blur). | ||
61 | 65 | ||
62 | *output* <name> background|bg <file> <mode> [<fallback\_color>] | 66 | *output* <name> background|bg <file> <mode> [<fallback\_color>] |
63 | Sets the wallpaper for the given output to the specified file, using the | 67 | Sets the wallpaper for the given output to the specified file, using the |