This commit is contained in:
2024-12-02 19:11:32 +01:00
parent 07194d5fa7
commit 89fc903909
2 changed files with 15 additions and 15 deletions

View File

@@ -64,15 +64,15 @@ static const char unknown_str[] = "n/a";
* wifi_perc WiFi signal in percent interface name (wlan0)
*/
static const struct arg args[] = {
/* function format argument */
{ datetime, "%s", "%D-%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},
/* function format argument */
{ datetime, "%s", "%D-%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 },
};