1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 02:02:58 +00:00

nested var doc

This commit is contained in:
deadc0de6
2023-04-13 22:54:18 +02:00
committed by deadc0de
parent 82fd6348d2
commit cb1871f580

View File

@@ -41,4 +41,16 @@ will result in the following available variables:
* dvar1: `dvar1`
* dvar2: `dvar1 dvar2`
* dvar3: `dvar1 dvar2 dvar3`
* dvar4: `var1 var2 var3`
* dvar4: `var1 var2 var3`
Config variables can be nested as shown below:
```yaml
variables:
rofi:
background_color: "rgba ( 33, 33, 33, 100 % );"
polybar:
background_color: "#cc222222"
```
Where the above would be referenced using `{{@@ rofi.background_color @@}}`
and `{{@@ polybar.background_color @@}}`.