M components/battery.c => components/battery.c +3 -3
@@ 50,9 50,9 @@
char *state;
char *symbol;
} map[] = {
- { "Charging", "+" },
- { "Discharging", "-" },
- { "Full", "o" },
+ { "Charging", "CHR" },
+ { "Discharging", "BAT" },
+ { "Full", "FULL" },
};
size_t i;
char path[PATH_MAX], state[12];
M config.h => config.h +1 -1
@@ 68,7 68,7 @@ static const struct arg args[] = {
{ wifi_essid, "%s : ", "wlp2s0" },
{ wifi_perc, "%s% |", "wlp2s0" },
- { battery_state, " bat %s ", "BAT0" },
+ { battery_state, " %s ", "BAT0" },
{ battery_perc, "%s% |", "BAT0" },
{ ram_perc, " mem %s% |", NULL },