]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Add labwc-environment(5)
authorJohan Malm <jgm323@gmail.com>
Sat, 10 Apr 2021 08:17:41 +0000 (09:17 +0100)
committerJohan Malm <jgm323@gmail.com>
Sat, 10 Apr 2021 08:17:41 +0000 (09:17 +0100)
docs/labwc-environment.5.scd [new file with mode: 0644]
docs/meson.build

diff --git a/docs/labwc-environment.5.scd b/docs/labwc-environment.5.scd
new file mode 100644 (file)
index 0000000..b029d18
--- /dev/null
@@ -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)
index 58d12cf3b798df8dc2e96e454d5acb5e2ce89c4a..e85843496aa71b817fde28c7b8c8036ec57bb6e9 100644 (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