README: specify "yaml" markup for configuration example

This commit is contained in:
Daniel Eklöf 2020-01-15 11:09:15 +01:00
parent 3c9a08bf7f
commit 9d5e57045b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -41,6 +41,7 @@ using _particles_ and _decorations_. **How** is configured by you.
Yambar is configured using YAML, in `~/.config/yambar/config.yml`. It
must define a top-level dictionary named **bar**:
```yaml
bar:
height: 26
location: top
@ -53,7 +54,7 @@ must define a top-level dictionary named **bar**:
- string: {text: "{date}", right-margin: 5}
- string: {text: , font: "Font Awesome 5 Free:style=solid:size=12"}
- string: {text: "{time}"}
```
For details, see the man pages (**yambar**(5) is a good start).