From 44d111f8db38b8843c84d43eeb0c292a631f66e1 Mon Sep 17 00:00:00 2001 From: Ilsix Date: Sat, 7 Dec 2024 01:01:44 +0100 Subject: [PATCH] battery charge and status --- config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.h b/config.h index 88bb95c..e6abaf1 100644 --- a/config.h +++ b/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 }, };