doc: document the new ‘environment’ config section

This commit is contained in:
Daniel Eklöf 2022-05-28 19:28:36 +02:00
parent 755f96321a
commit 5760bcb3bf
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 23 additions and 4 deletions

View file

@ -136,7 +136,7 @@ terminfo entries manually, by copying *foot* and *foot-direct* to
# ENVIRONMENT
The following environment variables are used by footclient:
## Variables used by footclient
*XDG\_RUNTIME\_DIR*
Used to construct the default _PATH_ for the *--server-socket*
@ -146,7 +146,7 @@ The following environment variables are used by footclient:
Used to construct the default _PATH_ for the *--server-socket*
option, when no explicit argument is given (see above).
The following environment variables are set in the child process:
## Variables set in the child process
*TERM*
terminfo/termcap identifier. This is used by client applications
@ -158,6 +158,9 @@ The following environment variables are set in the child process:
This variable is set to *truecolor*, to indicate to client
applications that 24-bit RGB colors are supported.
In addition to the variables listed above, custom environment
variables may be defined in *foot.ini*(5).
# SEE ALSO
*foot*(1)