From 449dfd6f333cfc9d36b4ef6a901ea17c431dbe96 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 21 Apr 2024 15:39:35 +0200 Subject: [PATCH] Remove battery --- dwmstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwmstatus.c b/dwmstatus.c index d776007..913e098 100644 --- a/dwmstatus.c +++ b/dwmstatus.c @@ -237,7 +237,7 @@ main(void) t1 = gettemperature("/sys/devices/virtual/thermal/thermal_zone1", "temp"); 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); // free(surfs);