Icon Changes & Remove Username
- Define divider symbol individually - Change divider to left angle - Replace icons - Remove username
This commit is contained in:
31
config.h
31
config.h
@@ -10,7 +10,6 @@ static const char unknown_str[] = "?";
|
|||||||
#define MAXLEN 2048
|
#define MAXLEN 2048
|
||||||
|
|
||||||
static const char battery_name[] = "BAT0";
|
static const char battery_name[] = "BAT0";
|
||||||
static const char divider_symbol[] = "|";
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* function description argument (example)
|
* function description argument (example)
|
||||||
@@ -68,23 +67,23 @@ static const char divider_symbol[] = "|";
|
|||||||
*/
|
*/
|
||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ divider, "%s", divider_symbol },
|
{ divider, "%s", " " },
|
||||||
{ username, " %s", NULL },
|
{ check_updates, " %s", NULL },
|
||||||
{ divider, "%s", divider_symbol },
|
// { gid, " %s", NULL },
|
||||||
|
{ divider, "%s", " " },
|
||||||
{ cpu_perc, " %s%%", NULL },
|
{ cpu_perc, " %s%%", NULL },
|
||||||
{ divider, "%s", divider_symbol },
|
{ divider, "%s", " " },
|
||||||
{ ram_perc, " %s%%", NULL },
|
{ ram_perc, " %s%%", NULL },
|
||||||
{ divider, "%s", divider_symbol },
|
{ divider, "%s", " " },
|
||||||
{ disk_perc, " %s%%", "/home" },
|
{ disk_perc, " %s%%", "/home" },
|
||||||
{ divider, "%s", divider_symbol },
|
// { divider, "%s", divider_symbol },
|
||||||
{ check_updates, " %s", NULL },
|
{ divider, "%s", " " },
|
||||||
{ divider, "%s", divider_symbol },
|
{ battery_state, " %s", battery_name }, // TODO: Make the battery icon change with the level and charging status
|
||||||
{ battery_state, " %s", battery_name },
|
|
||||||
{ battery_perc, "%s%%", battery_name },
|
{ battery_perc, "%s%%", battery_name },
|
||||||
{ battery_remaining, " (%s)", battery_name },
|
{ battery_remaining, " (%s)", battery_name },
|
||||||
{ divider, "%s", divider_symbol },
|
{ divider, "%s", " " },
|
||||||
{ datetime, " %s", "%a %x" },
|
{ datetime, " %s", "%a %x" },
|
||||||
{ divider, "%s", divider_symbol },
|
{ divider, "%s", " " },
|
||||||
{ datetime, " %s", "%I:%M:%S %p" },
|
{ datetime, " %s", "%I:%M:%S %p" },
|
||||||
{ divider, "%s", divider_symbol },
|
{ divider, "%s", " " },
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user