From ada99c0af5665828abc725923bf2f104c577c852 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Tue, 31 Mar 2015 13:14:25 +0200 Subject: move config parameters on every module docstring, overall QA --- py3status/modules/bluetooth.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'py3status/modules/bluetooth.py') 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 -- cgit v1.3