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/ns_checker.py | |
| parent | 6aefd207ecf8df4a8a594b47f9e27a7e0a26e3c4 (diff) | |
normalize module direct testing with a proper config
Diffstat (limited to 'py3status/modules/ns_checker.py')
| -rw-r--r-- | py3status/modules/ns_checker.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/py3status/modules/ns_checker.py b/py3status/modules/ns_checker.py index a79fdd6..5fa6384 100644 --- a/py3status/modules/ns_checker.py +++ b/py3status/modules/ns_checker.py @@ -76,6 +76,10 @@ if __name__ == "__main__": """ from time import sleep x = Py3status() + config = { + 'color_good': '#00FF00', + 'color_bad': '#FF0000', + } while True: - print(x.ns_checker([], {})) + print(x.ns_checker([], config)) sleep(1) |
