Updated docs to comply with new map syntax

This commit is contained in:
Leonardo Gibrowski Faé 2022-04-19 22:05:42 -03:00
parent 2b103b7acd
commit 4c4a20d835
9 changed files with 138 additions and 159 deletions

View file

@ -69,16 +69,16 @@ in red.
content:
map:
conditions:
(carrier == false): {empty: {}}
(carrier == true):
~carrier: {empty: {}}
carrier:
map:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
(state == up):
state == up:
map:
default: {string: {text: , font: *awesome}}
conditions:
(ipv4 == ""): {string: {text: , font: *awesome, foreground: ffffff66}}
ipv4 == "": {string: {text: , font: *awesome, foreground: ffffff66}}
```
## Use yaml anchors