mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 21:05:40 +02:00
README: specify "yaml" markup for configuration example
This commit is contained in:
parent
3c9a08bf7f
commit
9d5e57045b
1 changed files with 13 additions and 12 deletions
25
README.md
25
README.md
|
@ -41,19 +41,20 @@ 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**:
|
||||
|
||||
bar:
|
||||
height: 26
|
||||
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}"}
|
||||
```yaml
|
||||
bar:
|
||||
height: 26
|
||||
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}"}
|
||||
```
|
||||
|
||||
For details, see the man pages (**yambar**(5) is a good start).
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue