window-title: add documentation

This commit is contained in:
massi 2026-05-11 14:59:29 -07:00 committed by Johan Malm
parent df6dde131f
commit 0a9bd41df0
2 changed files with 20 additions and 11 deletions

View file

@ -70,6 +70,14 @@ the `--exit` and `--reconfigure` options use.
session clients support both X11 and Wayland, this command line option
avoids re-writes and fragmentation.
*-t, --window-title* <fmtstr>
Set the window title for labwc to use when nested in a compositor.
<fmtstr> is a format string to be used as the window title, replacing
`%o` with the name of the output region. This is useful when simulating
multiple screens, such as with running labwc with the enviornment
variable `WLR_WL_OUTPUTS=2`. In this case, `%o` will be unique per
simulated screen.
*-v, --version*
Show the version number and quit