Icon Changes & Remove Username

- Define divider symbol individually
- Change divider to left angle
- Replace icons
- Remove username
This commit is contained in:
Sravan Balaji
2020-08-05 22:26:51 -04:00
parent 20beb5ca3e
commit 68ba5350ef

View File

@@ -10,7 +10,6 @@ static const char unknown_str[] = "?";
#define MAXLEN 2048
static const char battery_name[] = "BAT0";
static const char divider_symbol[] = "|";
/*
* function description argument (example)
@@ -68,23 +67,23 @@ static const char divider_symbol[] = "|";
*/
static const struct arg args[] = {
/* function format argument */
{ divider, "%s", divider_symbol },
{ username, " %s", NULL },
{ divider, "%s", divider_symbol },
{ divider, "%s", "" },
{ check_updates, " %s", NULL },
// { gid, " %s", NULL },
{ divider, "%s", "" },
{ cpu_perc, " %s%%", NULL },
{ divider, "%s", divider_symbol },
{ ram_perc, " %s%%", NULL },
{ divider, "%s", divider_symbol },
{ disk_perc, " %s%%", "/home" },
{ divider, "%s", divider_symbol },
{ check_updates, "%s", NULL },
{ divider, "%s", divider_symbol },
{ battery_state, " %s", battery_name },
{ divider, "%s", "" },
{ ram_perc, " %s%%", NULL },
{ divider, "%s", "" },
{ disk_perc, " %s%%", "/home" },
// { divider, "%s", divider_symbol },
{ divider, "%s", "" },
{ battery_state, "%s", battery_name }, // TODO: Make the battery icon change with the level and charging status
{ battery_perc, "%s%%", battery_name },
{ battery_remaining, " (%s)", battery_name },
{ divider, "%s", divider_symbol },
{ datetime, " %s", "%a %x" },
{ divider, "%s", divider_symbol },
{ divider, "%s", "" },
{ datetime, " %s", "%a %x" },
{ divider, "%s", "" },
{ datetime, " %s", "%I:%M:%S %p" },
{ divider, "%s", divider_symbol },
{ divider, "%s", "" },
};