remove stray backtick and fix formatting

This commit is contained in:
Sky Hearn 2024-02-27 17:55:30 -08:00
parent b0f33c6d3d
commit 7045c6bb8d
Signed by: fallingsky04
GPG Key ID: DAB485883AE426EC
2 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ static const char unknown_str[] = "n/a";
*/
static const struct arg args[] = {
/* function format argument */
` { battery_state, "BAT1 : %s, ", "BAT1"},
{ battery_state, "BAT1 : %s, ", "BAT1"},
{ battery_perc, "%s%% ", "BAT1"},
{ battery_remaining, "BAT1 : %s |", "BAT1"},
{ cpu_freq, "cpu : %s MHz ",NULL},

View File

@ -66,10 +66,10 @@ static const char unknown_str[] = "n/a";
*/
static const struct arg args[] = {
/* function format argument */
` { battery_state, "BAT1 : %s, ", "BAT1"},
{ battery_state, "BAT1 : %s, ", "BAT1"},
{ battery_perc, "%s%% ", "BAT1"},
{ battery_remaining, "BAT1 : %s |", "BAT1"},
{ cpu_freq, "cpu : %s MHz ",NULL},
{ battery_remaining, "%s | ", "BAT1"},
{ cpu_freq, "cpu : %sHz ",NULL},
{ cpu_perc, "%s%% | ", NULL},
{ datetime, "%s ", "%F %T" },
{ kanji, "%s ", NULL},