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

@ -458,7 +458,7 @@ In all other cases, the exit code is that of the client application
# ENVIRONMENT
The following environment variables are used by foot:
## Variables used by foot
*SHELL*
The default child process to run, when no _command_ argument is
@ -492,7 +492,7 @@ The following environment variables are used by foot:
The size to use for *Xcursor*(3) pointers (typically set by the
Wayland compositor).
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
@ -504,6 +504,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).
# BUGS
Please report bugs to https://codeberg.org/dnkl/foot/issues