Added battery percentages
This commit is contained in:
12
config.h
12
config.h
@@ -66,9 +66,13 @@ 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"},
|
{ run_command, " | ", NULL},
|
||||||
{ battery_state, " %s", "BAT0"},
|
{ battery_perc, "%s%%", "BAT0"},
|
||||||
{ battery_perc, " | %s%%", "BAT1"},
|
{ run_command, " ", NULL},
|
||||||
{ battery_state, " %s", "BAT1"},
|
{ battery_state, "%s", "BAT0"},
|
||||||
|
{ run_command, " | ", NULL},
|
||||||
|
{ battery_perc, "%s%%", "BAT1"},
|
||||||
|
{ run_command, " ", NULL},
|
||||||
|
{ battery_state, "%s", "BAT1"},
|
||||||
{ run_command, " ", NULL},
|
{ run_command, " ", NULL},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user