mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 14:34:07 +01:00
added explanation of output positions in case scaling is active
parent
57a490a019
commit
26b25d6cc8
9
Home.md
9
Home.md
@ -46,6 +46,15 @@ HiDPI can be enabled via `output` and its scale option.
|
||||
|
||||
\<I\> is the integer scaling factor (usually 2 for HiDPI screens)
|
||||
|
||||
If scaling is active, this has to be considered for the output positions, e.g. if the scaling factor is 2, the values of the positions of a right-side output have to be devided by 2.:
|
||||
|
||||
```
|
||||
output HDMI1 scale 2
|
||||
output HDMI1 pos 0,0 res 3200x1800
|
||||
output eDP1 pos 1600,0 res 1920x1080
|
||||
```
|
||||
Note that the x-pos of eDP1 is 1600 = 3200/2 .
|
||||
|
||||
#### Rotate display
|
||||
|
||||
Rotation is not currently supported. This needs to be implemented in WLC. See https://github.com/Cloudef/wlc/issues/86.
|
||||
|
Loading…
Reference in New Issue
Block a user