X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/abbaa7af4401bbece8c9a9cb27408a0c84421762..be12b6b350c7cf2ea826d3988371efb680b4ba30:/config.def.h diff --git a/config.def.h b/config.def.h index be60df8..2b06f34 100644 --- a/config.def.h +++ b/config.def.h @@ -1,10 +1,13 @@ /* See LICENSE file for copyright and license details. */ /* how often to update the statusbar (min value == 1) */ -#define UPDATE_INTERVAL 1 +static const int update_interval = 1; /* text to show if no value can be retrieved */ -#define UNKNOWN_STR "n/a" +#define UNKNOWN_STR "n/a" + +/* maximum output string length */ +#define MAXLEN 2048 /* statusbar - battery_perc (battery percentage) [argument: battery name] @@ -24,6 +27,7 @@ - kernel_release (uname -r) [argument: NULL] - keyboard_indicators (caps/num lock indicators) [agrument: NULL] - load_avg (load average) [argument: NULL] +- num_files (number of files in a directory - hint: maildir) [argument: path] - ram_free (free ram in GB) [argument: NULL] - ram_perc (ram usage in percent) [argument: NULL] - ram_total (total ram in GB) [argument: NULL]