updated readme with new config schema
This commit is contained in:
parent
005fd42823
commit
a3ea319051
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -58,13 +58,15 @@ easyconf-lemonbar process. First, in the module configuration, specify which
|
||||||
signal to listen for, e.g.
|
signal to listen for, e.g.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
...
|
||||||
# Display a random number, and only update when we recieve the RTMIN+1 signal.
|
# Display a random number, and only update when we recieve the RTMIN+1 signal.
|
||||||
- name: "random"
|
random:
|
||||||
command: "python -c 'from random import randrange; print(randrange(1000))'"
|
command: "python -c 'from random import randrange; print(randrange(1000))'"
|
||||||
refresh: 0
|
refresh: 0
|
||||||
signal: 1
|
signal: 1
|
||||||
format:
|
format:
|
||||||
align: left
|
align: left
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
In the example above, the refresh is `0`. This means that the module *will never
|
In the example above, the refresh is `0`. This means that the module *will never
|
||||||
|
|
Loading…
Reference in a new issue