diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-03-31 13:14:25 +0200 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-03-31 13:14:25 +0200 |
| commit | ada99c0af5665828abc725923bf2f104c577c852 (patch) | |
| tree | a4e58a0d9a5bec4612efe98bf068730a45c32ef7 /py3status/modules/battery_level.py | |
| parent | cdfec19502d0415f92d85ffa48e6bec495ccb644 (diff) | |
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/battery_level.py')
| -rw-r--r-- | py3status/modules/battery_level.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/py3status/modules/battery_level.py b/py3status/modules/battery_level.py index ae8fe33..4b25ea3 100644 --- a/py3status/modules/battery_level.py +++ b/py3status/modules/battery_level.py @@ -2,6 +2,12 @@ """ Display the battery level. +Configuration parameters: + - color_* : None means - get it from i3status config + - format : text with "text" mode. percentage with % replaces {} + - hide_when_full : hide any information when battery is fully charged + - mode : for primitive-one-char bar, or "text" for text percentage ouput + Requires: - the 'acpi' command line @@ -24,13 +30,7 @@ FULL_BLOCK = '█' class Py3status: """ - Configuration parameters: - - color_* : None means - get it from i3status config - - format : text with "text" mode. percentage with % replaces {} - - hide_when_full : hide any information when battery is fully charged - - mode : for primitive-one-char bar, or "text" for text percentage ouput """ - # available configuration parameters cache_timeout = 30 color_bad = None |
