Merge branch 'fix/bluetooth'

This commit is contained in:
Ludwig Behm 2024-04-17 22:53:03 +02:00
commit 617a12f96d
Signed by: l.behm
GPG key ID: D344835D63B89384
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ class Module(core.module.Module):
def status(self, widget): def status(self, widget):
"""Get status.""" """Get status."""
return self._status return self._status if self._status.isdigit() and int(self._status) > 1 else ""
def update(self): def update(self):
"""Update current state.""" """Update current state."""

View file

@ -254,12 +254,12 @@
"bluetooth": { "bluetooth": {
"ON": { "prefix": "󰂯" }, "ON": { "prefix": "󰂯" },
"OFF": { "prefix": "󰂲" }, "OFF": { "prefix": "󰂲" },
"?": { "prefix": "" } "?": { "prefix": "󰂱" }
}, },
"bluetooth2": { "bluetooth2": {
"ON": { "prefix": "󰂯" }, "ON": { "prefix": "󰂱" },
"warning": { "prefix": "󰂲" }, "warning": { "prefix": "󰂯" },
"critical": { "prefix": "" } "critical": { "prefix": "󰂲" }
}, },
"battery-upower": { "battery-upower": {
"charged": { "charged": {