Update documentation paragraph on variables to emphasize on limitation (see http://infra.in.zekjur.net/archives/i3-discuss/2013-August/001377.html)
Patch status: merged
Patch by syl20bnr
To apply this patch, use:
curl http://cr.i3wm.org/patch/199/raw.patch | git am
b/docs/userguide
15 |
@@ -570,11 +570,13 @@ set $m Mod1 |
16 |
bindsym $m+Shift+r restart |
17 |
------------------------ |
18 |
|
19 |
-Variables are directly replaced in the file when parsing. There is no fancy |
20 |
-handling and there are absolutely no plans to change this. If you need a more |
21 |
-dynamic configuration you should create a little script which generates a |
22 |
-configuration file and run it before starting i3 (for example in your |
23 |
-+~/.xsession+ file). |
24 |
+Variables behaves like very basic macros.They are directly replaced in |
25 |
+the file when parsing. Variables expansion is not recursive so it is not |
26 |
+possible to define a variable with a value containing another variable. |
27 |
+There is no fancy handling and there are absolutely no plans to change this. |
28 |
+If you need a more dynamic configuration you should create a little script |
29 |
+which generates a configuration file and run it before starting i3 (for |
30 |
+example in your +~/.xsession+ file). |
31 |
|
32 |
=== Automatically putting clients on specific workspaces |
33 |
|