aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 1e83372d2ffc5341756240a8ca516eddf1078a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# wlr-mirror

`wlr-mirror` is a fork of
[https://github.com/ProgAndy/wdomirror](wdomirror) which fixes a
compilation issue and renames it to make it explicit that it relies on
wlroots.

It uses the wlroots dmabuf export protocol to create a mirror of an
output with as little overhead as possible.

## Building

    meson build
    ninja -C build

## Usage

List the outputs and their IDs:

    wlr-mirror

Create the mirror:

    wlr-mirror $ID

`wlr-mirror` does not preserve the aspect ratio, so make sure to set
the size of the mirror window correctly. For fullscreen, make sure
that both source and target outputs have the same aspect ratio.


## License

[MIT](LICENSE)