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" ]:
|
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
|
||||||
|
|
||||||
|
|
|
@ -257,8 +257,8 @@
|
||||||
"?": { "prefix": "" }
|
"?": { "prefix": "" }
|
||||||
},
|
},
|
||||||
"bluetooth2": {
|
"bluetooth2": {
|
||||||
"ON": { "prefix": "" },
|
"connected": { "prefix": "" },
|
||||||
"warning": { "prefix": "" },
|
"enabled": { "prefix": "" },
|
||||||
"critical": { "prefix": "" }
|
"critical": { "prefix": "" }
|
||||||
},
|
},
|
||||||
"battery-upower": {
|
"battery-upower": {
|
||||||
|
|
Loading…
Reference in a new issue