battery charge and status
This commit is contained in:
9
config.h
9
config.h
@@ -66,4 +66,13 @@ static const char unknown_str[] = "n/a";
|
||||
static const struct arg args[] = {
|
||||
/* function format argument */
|
||||
{ datetime, "%s", "%Y-%m-%d %k:%M" },
|
||||
{ run_command, " | ", NULL },
|
||||
{ battery_perc, "%s%%", "BAT0" },
|
||||
{ run_command, " ", NULL },
|
||||
{ battery_state, "%s", "BAT0" },
|
||||
{ run_command, " | ", NULL },
|
||||
{ battery_perc, "%s%%", "BAT1" },
|
||||
{ run_command, " ", NULL },
|
||||
{ battery_state, "%s", "BAT1" },
|
||||
{ run_command, " ", NULL },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user