table of contents
| wl-mirror(1) | General Commands Manual | wl-mirror(1) |
NAME¶
wl-mirror - a simple Wayland output mirror client
SYNOPSIS¶
wl-mirror [-h,-V,-v,-c,-i,-f,-s S,-b B,-t T,-r R,-S] <output>
OPTIONS¶
-h, --help
-V, --version
-v, --verbose --no-verbose
-c, --show-cursor --no-show-cursor
-i, --invert-colors --no-invert-colors
-f, --freeze --unfreeze --toggle-freeze
-F, --fullscreen --no-fullscreen
--fullscreen-output O --no-fullscreen-output
-s f, --scaling fit
-s c, --scaling cover
-s e, --scaling exact
-s l, --scaling linear
-s n, --scaling nearest
-b B, --backend B
-t T, --transform T
-r R, --region R
-S, --stream
BACKENDS¶
auto
dmabuf
screencopy
TRANSFORMS¶
Transforms are specified as a dash-separated list of flips followed by a rotation amount. Flips are applied before rotations, both flips and rotations are optional. Custom transformations are applied after adjusting for the wayland output transform, so that if no custom transformations are applied, the mirrored surface is displayed right-side-up.
normal
flipX, flipY
0cw, 90cw, 180cw, 270cw
0ccw, 90ccw, 180ccw, 270ccw
The following transformation options are provided for compatibility with sway-output(5) transforms:
flipped
0, 90, 180, 270
REGIONS¶
Regions are specified in the format used by the slurp(1) utility:
When processing the region option, the region is translated into output coordinates, so when the output moves, the captured region moves with it. When a region is specified, the output positional argument is optional.
STREAM MODE¶
In stream mode, wl-mirror interprets lines on stdin as additional command line options.
- Arguments can be quoted with single or double quotes, but every argument must be fully quoted.
- Unquoted arguments are split on whitespace.
- No escape sequences are implemented.
Option lines on stdin are processed asynchronously, and can override all options and the captured output. Stream mode is used by wl-present(1) to add interactive controls to wl-mirror.
AUTHORS¶
Maintained by Ferdinand Bachmann <ferdinand.bachmann@yrlf.at>. More information on wl-mirror can be found at <https://github.com/Ferdi265/wl-mirror>.
SEE ALSO¶
| 2024-10-14 |