Add labwc-environment(5)

This commit is contained in:
Johan Malm 2021-04-10 09:17:41 +01:00
parent f5689410be
commit fbfa0c4a9e
2 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,33 @@
labwc-environment(1)
# NAME
labwc - environment
# DESCRIPTION
The environment file is parsed as <variable>=<value> and sets environment
variables accordingly.
Note that the environment file is treated differently by openbox where
it is simply sourced prior to running openbox.
# CONFIGURATION
It is recommended to specify keyboard settings here. See
xkeyboard-config(7) for details.
For example, this sets keyboard layout to Swedish:
```
XKB_DEFAULT_LAYOUT=se
```
The following environment variables are supported by labwc:
*LABWC_ADAPTIVE_SYNC*
Set to 1 enable adaptive sync
# SEE ALSO
labwc(1)

View file

@ -2,7 +2,14 @@ scdoc = find_program('scdoc', required: get_option('man-pages'))
if scdoc.found()
sh = find_program('sh', native: true)
sections = ['.1', '-config.5', '-theme.5', '-actions.5', '-menu.5']
sections = [
'.1',
'-actions.5',
'-config.5',
'-environment.5',
'-menu.5',
'-theme.5',
]
foreach s : sections
markdown = 'labwc' + s + '.scd'
manpage = 'labwc' + s