Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
check for fgets/fscanf return values
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
be60df8
..
a961dbc
100644
(file)
--- 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 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]
/* statusbar
- battery_perc (battery percentage) [argument: battery name]