added formating
This commit is contained in:
parent
b679f62bff
commit
3aeb389ae6
8
config.h
8
config.h
|
@ -63,9 +63,9 @@ static const char unknown_str[] = "n/a";
|
||||||
*/
|
*/
|
||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ battery_state, "%s", "BAT0" },
|
{ battery_state, "BAT: [%s", "BAT0" },
|
||||||
{ battery_perc, "%s%%", "BAT0" },
|
{ battery_perc, "%s%%", "BAT0" },
|
||||||
{ battery_remaining, " %s ", "BAT0" },
|
{ battery_remaining, " %s] ", "BAT0" },
|
||||||
{ wifi_essid, "Wifi: %s ", "wlp59s0" },
|
{ wifi_essid, "[Wifi: %s] ", "wlp59s0" },
|
||||||
{ datetime, "%s", "%F %T" },
|
{ datetime, "%s", "[%F %T]" },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue