From a3ea319051778585139968e7a0a93074c0ffead2 Mon Sep 17 00:00:00 2001 From: Noah Swerhun Date: Mon, 3 Apr 2023 16:14:21 -0500 Subject: [PATCH] updated readme with new config schema --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9f9d661..baeb4d3 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,15 @@ easyconf-lemonbar process. First, in the module configuration, specify which signal to listen for, e.g. ```yaml +... # Display a random number, and only update when we recieve the RTMIN+1 signal. -- name: "random" - command: "python -c 'from random import randrange; print(randrange(1000))'" - refresh: 0 - signal: 1 - format: - align: left + random: + command: "python -c 'from random import randrange; print(randrange(1000))'" + refresh: 0 + signal: 1 + format: + align: left +... ``` In the example above, the refresh is `0`. This means that the module *will never