reorganise datetime

This commit is contained in:
Maddie H 2023-02-19 16:44:48 +00:00
parent 97880c5f86
commit b22f3d8ec8
No known key found for this signature in database
GPG Key ID: 64FAA9959751687D

View File

@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
const unsigned int interval = 1000;
const unsigned int interval = 500;
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";
@ -74,5 +74,6 @@ static const struct arg args[] = {
{ uptime, "  %s |", NULL },
/* { kernel_release, "  %s |", NULL }, */
{ ipv4, "  %s |", "wlp3s0" },
{ datetime, "  %s ", "%Y-%m-%d %T" },
{ datetime, "  %s |", "%Y-%m-%d" },
{ datetime, "  %s ", "%T %p" },
};