Added battery percentages
This commit is contained in:
6
config.h
6
config.h
@@ -66,6 +66,8 @@ static const char unknown_str[] = "n/a";
|
|||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ datetime, "%s", "%F %T" },
|
{ datetime, "%s", "%F %T" },
|
||||||
{ battery_perc, "%s%%", "BAT0"},
|
{ battery_perc, " %s%%", "BAT0"},
|
||||||
{ battery_perc, "%s%%", "BAT1"},
|
{ battery_state, " %s%%", "BAT0"},
|
||||||
|
{ battery_perc, " | %s%%", "BAT1"},
|
||||||
|
{ battery_state, " %s%%", "BAT1"},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user