main: Allow user to override layers in landscape mode

Add a new parameter `--landscape-layers` as well as an environment
variable `WVKBD_LANDSCAPE_LAYERS` that allows the user to override the
default set of layers in landscape mode. This complements the existing
`-l` parameter and `WVKBD_LAYERS` environment variable, which do the
equivalent for non-landscape mode.

Furthermore, add documentation for the new switch. Move the `-l`
parameter to the bottom so we don't have to realign all parameters and
so all layer-related parameters are grouped together.
This commit is contained in:
Patrick Steinhardt
2022-10-04 18:17:41 +02:00
committed by Maarten van Gompel
parent dfae590264
commit 9bbc8d4a99
2 changed files with 21 additions and 3 deletions

View File

@ -34,6 +34,11 @@ print intersected keys to standard output
comma separated list of layers
.P
.RE
\fB--landscape-layers\fR
.RS 4
comma separated list of layers used in landscape mode
.P
.RE
\fB-H\fR \fIPX\fR
.RS 4
height in pixels