bluetooth2: states and styling

This commit is contained in:
Ludwig Behm 2024-04-17 23:05:16 +02:00
parent 617a12f96d
commit 676bbebf4c
Signed by: l.behm
GPG key ID: D344835D63B89384
2 changed files with 5 additions and 4 deletions

View file

@ -68,9 +68,10 @@ class Module(core.module.Module):
if self._status in [ "No Adapter Found", "Off" ]: if self._status in [ "No Adapter Found", "Off" ]:
state.append("critical") state.append("critical")
elif self._status == "0": elif self._status == "0":
state.append("warning") state.append("enabled")
else: else:
state.append("ON") state.append("connected")
state.append("good")
return state return state

View file

@ -257,8 +257,8 @@
"?": { "prefix": "󰂱" } "?": { "prefix": "󰂱" }
}, },
"bluetooth2": { "bluetooth2": {
"ON": { "prefix": "󰂱" }, "connected": { "prefix": "󰂱" },
"warning": { "prefix": "󰂯" }, "enabled": { "prefix": "󰂯" },
"critical": { "prefix": "󰂲" } "critical": { "prefix": "󰂲" }
}, },
"battery-upower": { "battery-upower": {