diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-03-11 18:49:31 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-03-11 18:49:31 +0100 |
| commit | a7119803c420373903ac289eb44fc01b64a58ef7 (patch) | |
| tree | c6650d43801d436f2a65909ad8fecc5dd336f523 /py3status/modules/sysdata.py | |
| parent | 6aefd207ecf8df4a8a594b47f9e27a7e0a26e3c4 (diff) | |
normalize module direct testing with a proper config
Diffstat (limited to 'py3status/modules/sysdata.py')
| -rw-r--r-- | py3status/modules/sysdata.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/py3status/modules/sysdata.py b/py3status/modules/sysdata.py index cea950d..0badbe0 100644 --- a/py3status/modules/sysdata.py +++ b/py3status/modules/sysdata.py @@ -145,7 +145,11 @@ if __name__ == "__main__": """ from time import sleep x = Py3status() + config = { + 'color_good': '#00FF00', + 'color_bad': '#FF0000', + } while True: - print(x.cpuInfo([], {})) - print(x.ramInfo([], {})) + print(x.cpuInfo([], config)) + print(x.ramInfo([], config)) sleep(1) |
