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" ]:
state.append("critical")
elif self._status == "0":
state.append("warning")
state.append("enabled")
else:
state.append("ON")
state.append("connected")
state.append("good")
return state

View file

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