diff options
| author | J.M. Dana <jmdana@gmail.com> | 2015-02-24 22:15:34 +0000 |
|---|---|---|
| committer | J.M. Dana <jmdana@gmail.com> | 2015-02-24 22:57:24 +0000 |
| commit | 9f88fc3b0416f7810eb56e95b23365869af1af50 (patch) | |
| tree | cb4a78f64cc9f9374a4950c9f5f82374f722e97d /py3status | |
| parent | 42c486bdec6f453c3db6fff2f8a88e2ec5486bea (diff) | |
[bluetooth] separator is configurable now
Diffstat (limited to 'py3status')
| -rw-r--r-- | py3status/modules/bluetooth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py3status/modules/bluetooth.py b/py3status/modules/bluetooth.py index 3585c4d..30f270b 100644 --- a/py3status/modules/bluetooth.py +++ b/py3status/modules/bluetooth.py @@ -23,6 +23,7 @@ class Py3status: cache_timeout = 10 color_good = None color_bad = None + separator = '|' def bluetooth(self, i3s_output_list, i3s_config): # The whole command: @@ -39,7 +40,7 @@ class Py3status: out = check_output(shlex.split("hcitool name %s" % mac)) names.append(out.strip().decode("utf-8")) - output += "|".join(names) + output += self.separator.join(names) color = self.color_good or i3s_config['color_good'] else: |
