mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 03:11:27 +00:00
Updated Home (markdown)
parent
90d66de7fc
commit
deca62bb9c
8
Home.md
8
Home.md
|
@ -53,8 +53,8 @@ Managing multiple monitors is simple through the use of multiple `output` comman
|
|||
e.g., if we want to have a monitor with \<name\> HDMI1 and a resolution of 1920x1080, and to the right of it a laptop monitor with \<name\> eDP1 and a resolution of 1600x900; the following two commands can be placed in our config file.
|
||||
|
||||
```
|
||||
output HDMI1 pos 0,0 res 1920x1080
|
||||
output eDP1 pos 1920,0 res 1600x900
|
||||
output HDMI1 pos 0 0 res 1920x1080
|
||||
output eDP1 pos 1920 0 res 1600x900
|
||||
```
|
||||
|
||||
#### HiDPI
|
||||
|
@ -69,8 +69,8 @@ If scaling is active, it has to be considered when defining relative positions.
|
|||
|
||||
```bash
|
||||
output HDMI1 scale 2
|
||||
output HDMI1 pos 0,0 res 3200x1800
|
||||
output eDP1 pos 1600,0 res 1920x1080
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue