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