Updated Configuration (markdown)

Michael Carlberg 2016-12-01 08:02:25 +01:00
parent 0c217b4ea0
commit 2b3998d79e
1 changed files with 20 additions and 0 deletions

@ -41,6 +41,26 @@ key = ${env:VAR:fallback value}
key = ${xrdb:KEY:fallback value}
~~~
## Inheritance
Values can be inherit from another section by defining the parameter `inherit = section/base`.
All undefined keys will be cloned.
~~~ ini
[section/base]
foo = 1
bar = 0.15
baz = true
[section/child]
inherit = section/base
baz = false
; Result
[section/child]
foo = 1
bar = 0.15
baz = false
~~~
## Custom variables
~~~ ini
; You can create your own local variables, for example: