diff options
author | Aaron Marcher <info@nulltime.net> | 2017-03-30 17:32:20 +0200 |
---|---|---|
committer | Aaron Marcher <info@nulltime.net> | 2017-03-30 17:32:20 +0200 |
commit | cceeec0efada64579525b90b30e5597cd24dfc6c (patch) | |
tree | 4a8a05434295205275a04cef8a75b1373e5bd91c | |
parent | b11dd2db0ebfc0b20ef2d5a972f13cf39bdd0b31 (diff) |
loading thresholds state
-rw-r--r-- | slstatus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -140,6 +140,8 @@ battery_state(const char *bat) return smprintf("-"); } else if (strcmp(state, "Full") == 0) { return smprintf("="); + } else if (strcmp(state, "Unknown") == 0) { + return smprintf("/"); } else { return smprintf("?"); } |