summaryrefslogtreecommitdiffstats
path: root/py3status/modules/bluetooth.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/bluetooth.py
parentcdfec19502d0415f92d85ffa48e6bec495ccb644 (diff)
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/bluetooth.py')
-rw-r--r--py3status/modules/bluetooth.py19
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