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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue