mirror of https://github.com/polybar/polybar.git
Updated Configuration (markdown)
parent
0c217b4ea0
commit
2b3998d79e
|
@ -41,6 +41,26 @@ key = ${env:VAR:fallback value}
|
||||||
key = ${xrdb:KEY: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
|
## Custom variables
|
||||||
~~~ ini
|
~~~ ini
|
||||||
; You can create your own local variables, for example:
|
; You can create your own local variables, for example:
|
||||||
|
|
Loading…
Reference in New Issue