Commits

William Giokas  committed 8649a25

Updated dwmstatus.c

enclose load in []

Signed-off-by: William Giokas <1007380@gmail.com>

  • Participants
  • Parent commits 394f661

Comments (0)

Files changed (1)

 
 	for (;;sleep(9)) {
 		avgs   = loadavg();
-		tmchi  = mktimes("Chicago: %Y/%d/%m %H:%M:%S", tzchicago);
+		tmchi  = mktimes("%Y/%d/%m %H:%M:%S", tzchicago);
         batt   = getbattery("/sys/class/power_supply/BAT0");
         net    = get_netusage();
         temp   = gettemperature("/sys/devices/platform/coretemp.0/", "temp1_input");
 
-		status = smprintf("wlan0: %s | Batt: %s% | Load:%s | Temp: %s | %s",
+		status = smprintf("wlan0: %s | Batt: %s% | Load: [%s] | Temp: %s | %s",
 				net, batt, avgs, temp, tmchi);
 		setstatus(status);
 		free(avgs);