updated readme with new config schema

This commit is contained in:
Noah Swerhun 2023-04-03 16:14:21 -05:00
parent 005fd42823
commit a3ea319051

View file

@ -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