diff --git a/config.h b/config.h index 97a9943..17bea8d 100644 --- a/config.h +++ b/config.h @@ -66,9 +66,13 @@ static const char unknown_str[] = "n/a"; static const struct arg args[] = { /* function format argument */ { datetime, "%s", "%F %T" }, - { battery_perc, " %s%%", "BAT0"}, - { battery_state, " %s", "BAT0"}, - { battery_perc, " | %s%%", "BAT1"}, - { battery_state, " %s", "BAT1"}, + { 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}, };