svkbd.1: small man page tweaks

- Fix some warnings.
- Use Ev macro for environment variables.
This commit is contained in:
Hiltjo Posthuma 2020-08-04 23:14:38 +02:00
parent 9f5404990d
commit 4983666e33

25
svkbd.1
View File

@ -1,4 +1,4 @@
.Dd August 2, 2020 .Dd August 4, 2020
.Dt SVKBD 1 .Dt SVKBD 1
.Os .Os
.Sh NAME .Sh NAME
@ -20,7 +20,6 @@
.Nm .Nm
is a simple virtual keyboard for X.org, intended to be used in environments, where no is a simple virtual keyboard for X.org, intended to be used in environments, where no
keyboard is available. keyboard is available.
.Pp
.Sh OPTIONS .Sh OPTIONS
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl D .It Fl D
@ -36,12 +35,12 @@ geometry format.
.It Fl h .It Fl h
Show the usage information. Show the usage information.
.It Fl H Ar heightfactor .It Fl H Ar heightfactor
Affects the vertical space taken by the keyboard. One row of keys takes up Affects the vertical space taken by the keyboard.
1/heighfactor of the screen's total height. One row of keys takes up 1/heighfactor of the screen's total height.
.It Fl l Ar layers .It Fl l Ar layers
Comma separated list of layers to enable (by name). If not set, all layers Comma separated list of layers to enable (by name). If not set, all layers
in the layout will be available. The layer names are defined by the layout in the layout will be available.
you compiled. The layer names are defined by the layout you compiled.
.It Fl s Ar layer .It Fl s Ar layer
The layer to show on program start-up (by name). If not set, the first The layer to show on program start-up (by name). If not set, the first
layer of the layout will be shown. layer of the layout will be shown.
@ -52,17 +51,17 @@ Show the version information.
.El .El
.Sh ENVIRONMENT .Sh ENVIRONMENT
The following environment variables can be defined, providing The following environment variables can be defined, providing
an alternative to some of the command line parameters. The command an alternative to some of the command line parameters.
line parameters, however, always take precedence: The command line parameters, however, always take precedence:
.Bl -tag -width Ds .Bl -tag -width Ds
.It \fB SVKBD_LAYERS .It Ev SVKBD_LAYERS
Comma separated list of layers to enable (by name). The layer names are defined by the layout Comma separated list of layers to enable (by name). The layer names are defined by the layout
you compiled. you compiled.
.It \fB SVKBD_ENABLEOVERLAYS .It Ev SVKBD_ENABLEOVERLAYS
Set this to 0 if you want to disable overlay functionality. Set this to 0 if you want to disable overlay functionality.
.It \fB SVKBD_HEIGHTFACTOR .It Ev SVKBD_HEIGHTFACTOR
Affects the vertical space taken by the keyboard. One row of keys takes up Affects the vertical space taken by the keyboard.
1/heighfactor of the screen's total height. One row of keys takes up 1/heighfactor of the screen's total height.
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr XParseGeometry 3 .Xr XParseGeometry 3