~saurabhs/slstatus

80774b804fa2d0cb37f96cb9be9b91fa7ed5c828 — Saurabh S 6 months ago 62b2a30
Fix formatting
1 files changed, 7 insertions(+), 7 deletions(-)

M config.h
M config.h => config.h +7 -7
@@ 6,8 6,6 @@ const unsigned int interval = 15 * 1000;
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";

static const char *fonts[] = {"Hack:size=5"};

/* maximum output string length */
#define MAXLEN 2048



@@ 45,7 43,7 @@ static const char *fonts[] = {"Hack:size=5"};
 * ram_free            free memory in GB               NULL
 * ram_perc            memory usage in percent         NULL
 * ram_total           total memory size in GB         NULL
 * ram_used            used memory in GB               NULL
 * ram_used            used meory in GB               NULL
 * run_command         custom shell command            command (echo foo)
 * separator           string to echo                  NULL
 * swap_free           free swap in GB                 NULL


@@ 67,12 65,14 @@ static const char *fonts[] = {"Hack:size=5"};
 */
static const struct arg args[] = {
	/* function, format, argument */
    { wifi_essid, " %s : ", "wlp2s0" },
    { wifi_perc, "%s% |", "wlp2s0" },
    { 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 },
    { disk_free, " disk %s |", "/"},
	{ datetime, " %s", "%a %b %d %I:%M %p" },
    { uptime, " up %s |", NULL },
    //{ disk_free, " disk %s |", "/"},
	  { datetime, " %s", "%a %b %d %I:%M %p" },
};