mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-27 22:05:42 +00:00
loading thresholds state
This commit is contained in:
parent
b11dd2db0e
commit
cceeec0efa
@ -140,6 +140,8 @@ battery_state(const char *bat)
|
|||||||
return smprintf("-");
|
return smprintf("-");
|
||||||
} else if (strcmp(state, "Full") == 0) {
|
} else if (strcmp(state, "Full") == 0) {
|
||||||
return smprintf("=");
|
return smprintf("=");
|
||||||
|
} else if (strcmp(state, "Unknown") == 0) {
|
||||||
|
return smprintf("/");
|
||||||
} else {
|
} else {
|
||||||
return smprintf("?");
|
return smprintf("?");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user