summaryrefslogtreecommitdiffstats
path: root/py3status/modules/netdata.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-03-31 13:14:25 +0200
committerUltrabug <ultrabug@gentoo.org>2015-03-31 13:14:25 +0200
commitada99c0af5665828abc725923bf2f104c577c852 (patch)
treea4e58a0d9a5bec4612efe98bf068730a45c32ef7 /py3status/modules/netdata.py
parentcdfec19502d0415f92d85ffa48e6bec495ccb644 (diff)
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/netdata.py')
-rw-r--r--py3status/modules/netdata.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/py3status/modules/netdata.py b/py3status/modules/netdata.py
index c43ad06..9e81710 100644
--- a/py3status/modules/netdata.py
+++ b/py3status/modules/netdata.py
@@ -2,6 +2,11 @@
"""
Display network speed and bandwidth usage.
+Configuration parameters:
+ - cache_timeout : 0 by default, you usually want continuous monitoring
+ - low_* / med_* : coloration thresholds
+ - nic : the network interface to monitor (defaults to eth0)
+
@author Shahin Azad <ishahinism at Gmail>
"""
@@ -40,10 +45,6 @@ class GetData:
class Py3status:
"""
- Configuration parameters:
- - cache_timeout : 0 by default, you usually want continuous monitoring
- - low_* / med_* : coloration thresholds
- - nic : the network interface to monitor (defaults to eth0)
"""
# available configuration parameters
cache_timeout = 2