Important
This project has been archived in favor of the more reliable wf-mirror by Ferdi265
wdomirror utilizes the wlroots dmabuf export protocol to create a mirror of an outout with as little overhead as possible.
meson build ninja -C build
List the outputs and their IDs.
./wdomirror
Create the mirror
./wdomirror $ID
wdomirror does not preserve the aspect ration, 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.