set config
This commit is contained in:
parent
5f45160b65
commit
3d34a927fa
28
config.h
28
config.h
|
@ -2,31 +2,29 @@
|
|||
#define CONFIG_H
|
||||
|
||||
// String used to delimit block outputs in the status.
|
||||
#define DELIMITER " "
|
||||
#define DELIMITER " | "
|
||||
|
||||
// Maximum number of Unicode characters that a block can output.
|
||||
#define MAX_BLOCK_OUTPUT_LENGTH 45
|
||||
#define MAX_BLOCK_OUTPUT_LENGTH 300
|
||||
|
||||
// Control whether blocks are clickable.
|
||||
#define CLICKABLE_BLOCKS 1
|
||||
#define CLICKABLE_BLOCKS 0
|
||||
|
||||
// Control whether a leading delimiter should be prepended to the status.
|
||||
#define LEADING_DELIMITER 0
|
||||
#define LEADING_DELIMITER 1
|
||||
|
||||
// Control whether a trailing delimiter should be appended to the status.
|
||||
#define TRAILING_DELIMITER 0
|
||||
#define TRAILING_DELIMITER 1
|
||||
|
||||
// Define blocks for the status feed as X(cmd, interval, signal).
|
||||
#define BLOCKS(X) \
|
||||
X("sb-mail", 600, 1) \
|
||||
X("sb-music", 0, 2) \
|
||||
X("sb-disk", 1800, 3) \
|
||||
X("sb-memory", 10, 4) \
|
||||
X("sb-loadavg", 5, 5) \
|
||||
X("sb-mic", 0, 6) \
|
||||
X("sb-record", 0, 7) \
|
||||
X("sb-volume", 0, 8) \
|
||||
X("sb-battery", 5, 9) \
|
||||
X("sb-date", 1, 10)
|
||||
X("sb-packages", 900, 8) \
|
||||
X("sb-disk", 900, 10) \
|
||||
X("sb-memory", 10, 14) \
|
||||
X("sb-cpu", 1, 18) \
|
||||
X("sb-nettraf", 1, 16) \
|
||||
X("sb-internet", 5, 4) \
|
||||
X("sb-battery", 5, 3) \
|
||||
X("sb-date", 1, 1)
|
||||
|
||||
#endif // CONFIG_H
|
||||
|
|
Loading…
Reference in New Issue