From fc26f5ddbf951af347f99e261e3b9f1f1b19dd32 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Mon, 19 May 2003 17:29:23 +0000 Subject: [PATCH] Description of configuration files --- doc/user.html | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/doc/user.html b/doc/user.html index 6ce6baa..1aea1d2 100644 --- a/doc/user.html +++ b/doc/user.html @@ -17,25 +17,33 @@ the managers. The content of this file is created automatically and you should not need to edit the file manually. In the config file you can specify all possible configuration options of - orion. The file is parsed and executed as an ordinary scheme - file with the following special syntax extensions: -

- - (define-option <group> <name> <value>)
- (define-options <group>
-   (<name1> <value1>)
-   (<name2> <value2>)
-   ...) -
-

- <group> specifies which group of options you - want to modify. Currently the possible groups are - root-options, move-options, - switch-options and - split-options. <name> must be - the name of an option defined within the given group. The - following sections list the existing options and the possible - values. + orion. The file is parsed and executed as a scheme module + file. It should define a module config-file with + the interface config-file-interface. This interface + lists 4 association lists root-options, + split-options, switch-options, + move-options for configuring the child window + managers. The following table lists the possible keys, types of + values and default values of the present options. An example + file may look like this: +
+(define-structure config-file config-file-interface
+  (open scheme xlib config-file-utils)
+  (begin
+    (define root-options
+      '((quit . "F8")
+        (save-layout . "F7")
+        (nth-workspace . ("M-1" "M-2" "M-3" "M-4" "M-5" "M-6" "M-7"))
+        (create-workspace . "F5")))
+    (define split-options '())
+    (define switch-options '())
+    (define move-options '())))
+
+;;; Local Variables:
+;;; mode:scheme
+;;; End:
+
+

root-options