From cbe8e57b285969a40e93115a8d17fe3da5c01bd6 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 13 Sep 2022 15:28:47 +0200 Subject: [PATCH] mention mirroring --- pages/Configuring/Advanced-config.md | 14 ++++++++++++++ pages/FAQ/_index.md | 13 ------------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md index 322eefc..2bd4981 100644 --- a/pages/Configuring/Advanced-config.md +++ b/pages/Configuring/Advanced-config.md @@ -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 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 {{< hint type=important >}} diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 3de6d1e..82826ab 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -77,19 +77,6 @@ You did the below, unknowingly. 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? Not that much heavier than Xorg. If you want maximum performance, consider