From: Johan Malm Date: Sat, 10 Apr 2021 08:17:41 +0000 (+0100) Subject: Add labwc-environment(5) X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=fbfa0c4a9eda8683b86c0bfba72d7bf5b30ba8db;p=proto%2Flabwc.git Add labwc-environment(5) --- diff --git a/docs/labwc-environment.5.scd b/docs/labwc-environment.5.scd new file mode 100644 index 00000000..b029d189 --- /dev/null +++ b/docs/labwc-environment.5.scd @@ -0,0 +1,33 @@ +labwc-environment(1) + +# NAME + +labwc - environment + +# DESCRIPTION + +The environment file is parsed as = 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) diff --git a/docs/meson.build b/docs/meson.build index 58d12cf3..e8584349 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -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