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):
"""Get status."""
return self._status
return self._status if self._status.isdigit() and int(self._status) > 1 else ""
def update(self):
"""Update current state."""

View file

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