X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/be12b6b350c7cf2ea826d3988371efb680b4ba30..e1e1b1d79a9d274c861386ad14a5eacb6a6819f7:/config.def.h?ds=sidebyside diff --git a/config.def.h b/config.def.h index 2b06f34..0699351 100644 --- a/config.def.h +++ b/config.def.h @@ -1,10 +1,10 @@ /* See LICENSE file for copyright and license details. */ -/* how often to update the statusbar (min value == 1) */ -static const int update_interval = 1; +/* interval between updates (in ms) */ +static const int interval = 1000; /* text to show if no value can be retrieved */ -#define UNKNOWN_STR "n/a" +static const char unknown_str[] = "n/a"; /* maximum output string length */ #define MAXLEN 2048