Remove battery
This commit is contained in:
parent
6c078d4717
commit
449dfd6f33
|
@ -237,7 +237,7 @@ main(void)
|
||||||
t1 = gettemperature("/sys/devices/virtual/thermal/thermal_zone1", "temp");
|
t1 = gettemperature("/sys/devices/virtual/thermal/thermal_zone1", "temp");
|
||||||
freeMem = execscript("free -m | grep Mem | awk '{ print $3 }'");
|
freeMem = execscript("free -m | grep Mem | awk '{ print $3 }'");
|
||||||
|
|
||||||
status = smprintf("| %d°C | %s | %sM | %s | %s |", t0 > t1 ? t0 : t1, avgs, freeMem, bat, tmbln);
|
status = smprintf("| %d°C | %s | %sM | %s |", t0 > t1 ? t0 : t1, avgs, freeMem, tmbln);
|
||||||
setstatus(status);
|
setstatus(status);
|
||||||
|
|
||||||
// free(surfs);
|
// free(surfs);
|
||||||
|
|
Loading…
Reference in New Issue