1
0
Fork 0

Improved formatting with some padding

This commit is contained in:
Jarkko Toivanen 2024-07-13 20:40:07 +03:00
parent 9cdc352a52
commit 14ba5491af

View file

@ -65,8 +65,8 @@ static const char unknown_str[] = "n/a";
*/ */
static const struct arg args[] = { static const struct arg args[] = {
/* function format argument */ /* function format argument */
{ cpu_perc, "%s%% | ", NULL }, { cpu_perc, "%2s%% | ", NULL },
{ ram_perc, "%s%% | ", NULL }, { ram_perc, "%2s%% | ", NULL },
{ swap_perc,"%s%% | ", NULL }, { swap_perc,"%2s%% | ", NULL },
{ datetime, "%s", "%F %T" }, { datetime, "%s", "%F %T" },
}; };