aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: aed20a9811cb1a335e0da857efd65759f3cb012d (about) (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

wdomirror 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)