diff options
author | PlusMinus0 <brandt.matthias+github@gmail.com> | 2019-01-02 09:04:12 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-04 12:44:03 +0100 |
commit | 1b341834a6dae87aa11e22b4df1263987a56404a (patch) | |
tree | cb4725b7e5bb9ad06dc0f3b52e655132883e21f9 /sway/sway-output.5.scd | |
parent | Apply tiling_drag_threshold to all containers (diff) | |
download | sway-1b341834a6dae87aa11e22b4df1263987a56404a.tar.gz sway-1b341834a6dae87aa11e22b4df1263987a56404a.tar.zst sway-1b341834a6dae87aa11e22b4df1263987a56404a.zip |
Update sway-output.5.scd
Some more clarifications because it seems scale questions are recurring.
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..5757f079 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 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. For scales other than 1, xwayland windows will look |
64 | blurry for that screen. | ||
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 |