Add keymap, kernel version and proper padding

This commit is contained in:
Alex 2020-03-19 00:07:28 +01:00
parent f59bf46e07
commit 717e370314
No known key found for this signature in database
GPG Key ID: 79DB21404E300A27
1 changed files with 4 additions and 2 deletions

View File

@ -63,11 +63,13 @@ static const char unknown_str[] = "";
*/
static const struct arg args[] = {
/* function format argument */
{ kernel_release, " %s |", NULL },
{ keymap, " %s |", NULL },
{ load_avg, " %s |", NULL },
{ ram_used, " %sB /", NULL },
{ ram_free, " %sB |", NULL },
{ netspeed_rx, " %sB/s", "wg0" },
{ netspeed_tx, " %sB/s |", "wg0" },
{ netspeed_rx, " %7.7sB/s", "twg0" },
{ netspeed_tx, " %7.7sB/s |", "twg0" },
{ uptime, " %s |", NULL },
{ datetime, " %s ", "%a %d/%m %T" },
};