diff --git a/docs/labwc.1.scd b/docs/labwc.1.scd index 31f28c19..30abf3f6 100644 --- a/docs/labwc.1.scd +++ b/docs/labwc.1.scd @@ -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* + Set the window title for labwc to use when nested in a compositor. + 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 diff --git a/src/main.c b/src/main.c index 93351b22..98c1f1bf 100644 --- a/src/main.c +++ b/src/main.c @@ -46,17 +46,18 @@ static const struct option long_options[] = { static const char labwc_usage[] = "Usage: labwc [options...]\n" -" -c, --config Specify config file (with path)\n" -" -C, --config-dir Specify config directory\n" -" -d, --debug Enable full logging, including debug information\n" -" -e, --exit Exit the compositor\n" -" -h, --help Show help message and quit\n" -" -m, --merge-config Merge user config files/theme in all XDG Base Dirs\n" -" -r, --reconfigure Reload the compositor configuration\n" -" -s, --startup Run command on startup\n" -" -S, --session Run command on startup and terminate on exit\n" -" -v, --version Show version number and quit\n" -" -V, --verbose Enable more verbose logging\n"; +" -c, --config Specify config file (with path)\n" +" -C, --config-dir Specify config directory\n" +" -d, --debug Enable full logging, including debug information\n" +" -e, --exit Exit the compositor\n" +" -h, --help Show help message and quit\n" +" -m, --merge-config Merge user config files/theme in all XDG Base Dirs\n" +" -r, --reconfigure Reload the compositor configuration\n" +" -s, --startup Run command on startup\n" +" -S, --session Run command on startup and terminate on exit\n" +" -t, --window-title Specify title to use when the compositor is nested\n" +" -v, --version Show version number and quit\n" +" -V, --verbose Enable more verbose logging\n"; static void usage(void)