~saurabhs/slstatus

53a341d785c2b926a906214e8d4478c4f21df066 — Saurabh S 2 months ago 80774b8 master
Cleanup formatting
1 files changed, 6 insertions(+), 11 deletions(-)

M config.h
M config.h => config.h +6 -11
@@ 64,15 64,10 @@ static const char unknown_str[] = "n/a";
 * wifi_essid          WiFi ESSID                      interface name (wlan0)
 */
static const struct arg args[] = {
	/* function, format, argument */
    { wifi_essid, " %s", "wlp2s0" },
    { wifi_perc, " (%s%) |", "wlp2s0" },
    { battery_state, " %s ", "BAT0" },
    { battery_perc, "%s% |", "BAT0" },
    //{ load_avg, " cpu %s |", NULL }, 
    { ram_used, " mem %s ", NULL },
    { ram_perc, "(%s%) |", NULL },
    { uptime, " up %s |", NULL },
    //{ disk_free, " disk %s |", "/"},
	  { datetime, " %s", "%a %b %d %I:%M %p" },
		/* function, 		format, 						argument */
    { wifi_perc, 			" WIFI (%s%) |", 	"wlp2s0" },
    { battery_state, 	" %s ", 					"BAT0" },
    { battery_perc, 	"%s% |", 					"BAT0" },
    { ram_used, 			" MEM %s |", 			NULL },
	  { datetime, 			" %s", 					 	"%d.%m.%y %I:%M %p" },
};