bluetooth2: states and styling
This commit is contained in:
parent
617a12f96d
commit
676bbebf4c
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -257,8 +257,8 @@
|
|||
"?": { "prefix": "" }
|
||||
},
|
||||
"bluetooth2": {
|
||||
"ON": { "prefix": "" },
|
||||
"warning": { "prefix": "" },
|
||||
"connected": { "prefix": "" },
|
||||
"enabled": { "prefix": "" },
|
||||
"critical": { "prefix": "" }
|
||||
},
|
||||
"battery-upower": {
|
||||
|
|
Loading…
Reference in a new issue