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/bluetooth.py | |
| parent | cdfec19502d0415f92d85ffa48e6bec495ccb644 (diff) | |
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/bluetooth.py')
| -rw-r--r-- | py3status/modules/bluetooth.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/py3status/modules/bluetooth.py b/py3status/modules/bluetooth.py index 3818325..d6e25c8 100644 --- a/py3status/modules/bluetooth.py +++ b/py3status/modules/bluetooth.py @@ -2,6 +2,16 @@ """ Display bluetooth status. +Confiuration parameters: + - format : format when there is a connected device + - format_no_conn : format when there is no connected device + - format_no_conn_prefix : prefix when there is no connected device + - format_prefix : prefix when there is a connected device + +Format of status string placeholders + {name} : device name + {mac} : device MAC address + Requires: - hcitool @@ -20,15 +30,6 @@ BTMAC_RE = re.compile(r'[0-9A-F:]{17}') class Py3status: """ - Confiuration parameters: - - format : format when there is a connected device - - format_no_conn : format when there is no connected device - - format_no_conn_prefix : prefix when there is no connected device - - format_prefix : prefix when there is a connected device - - Format of status string placeholders - {name} : device name - {mac} : device MAC address """ # available configuration parameters cache_timeout = 10 |
