mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 22:15:59 +01:00
mention mirroring
This commit is contained in:
parent
a17145f5c3
commit
cbe8e57b28
2 changed files with 14 additions and 13 deletions
|
@ -79,6 +79,20 @@ Where `TOP` `BOTTOM` `LEFT` `RIGHT` are integers in pixels of the reserved area
|
||||||
to add. This does stack on top of the calculated one, (e.g. bars) but you may
|
to add. This does stack on top of the calculated one, (e.g. bars) but you may
|
||||||
only use one of these rules per monitor in the config.
|
only use one of these rules per monitor in the config.
|
||||||
|
|
||||||
|
## Mirrored displays
|
||||||
|
|
||||||
|
If you want to mirror a display, add a `,mirror,[NAME]` at the end of the monitor
|
||||||
|
rule, examples:
|
||||||
|
```
|
||||||
|
monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
|
||||||
|
monitor=,preferred,auto,1,mirror,DP-1
|
||||||
|
```
|
||||||
|
|
||||||
|
Please remember that mirroring displays will not "re-render" everything for your
|
||||||
|
second monitor, so if mirroring a 1080p screen onto a 4K one, the resolution will
|
||||||
|
still be 1080p on the 4K display. This also means squishing and stretching
|
||||||
|
will occur on non-matching resolutions.
|
||||||
|
|
||||||
## Rotating and the default workspace
|
## Rotating and the default workspace
|
||||||
|
|
||||||
{{< hint type=important >}}
|
{{< hint type=important >}}
|
||||||
|
|
|
@ -77,19 +77,6 @@ You did the below, unknowingly.
|
||||||
|
|
||||||
Use `gamescope`, tends to fix any and all issues with wayland/Hyprland.
|
Use `gamescope`, tends to fix any and all issues with wayland/Hyprland.
|
||||||
|
|
||||||
### How do I mirror a screen?
|
|
||||||
|
|
||||||
Mirroring isn't *officially* supported. It's technically a bug, but it works.
|
|
||||||
Make sure the screen you want mirrored is the same resolution as the source.
|
|
||||||
|
|
||||||
Then, just make them overlap in the layout, e.g. making the primary monitor at
|
|
||||||
`0x0` and the mirrored one on `0x0` as well.
|
|
||||||
|
|
||||||
That creates an issue though, as the mirrored output also *has* to have an
|
|
||||||
active workspace, and usually will be annoyingly taking 2,3 etc, while making
|
|
||||||
them unreachable. An easy fix is to assign e.g.
|
|
||||||
`workspace=MIRROREDSCREEN,name:unused` and never use it.
|
|
||||||
|
|
||||||
### How heavy is this?
|
### How heavy is this?
|
||||||
|
|
||||||
Not that much heavier than Xorg. If you want maximum performance, consider
|
Not that much heavier than Xorg. If you want maximum performance, consider
|
||||||
|
|
Loading…
Reference in a new issue