X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/abbaa7af4401bbece8c9a9cb27408a0c84421762..958c34052a13b964f5fd1e748c18796d155af7db:/config.def.h?ds=inline diff --git a/config.def.h b/config.def.h index be60df8..ed339ed 100644 --- a/config.def.h +++ b/config.def.h @@ -4,7 +4,10 @@ #define 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]