2023-11-16 04:38:29 +01:00
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
2021-03-20 10:52:45 +01:00
|
|
|
|
2023-10-24 05:14:31 +02:00
|
|
|
// String used to delimit block outputs in the status.
|
2023-11-22 11:39:48 +01:00
|
|
|
#define DELIMITER " | "
|
2023-10-24 05:14:31 +02:00
|
|
|
|
|
|
|
// Maximum number of Unicode characters that a block can output.
|
2023-11-22 11:39:48 +01:00
|
|
|
#define MAX_BLOCK_OUTPUT_LENGTH 300
|
2023-10-24 05:14:31 +02:00
|
|
|
|
|
|
|
// Control whether blocks are clickable.
|
2023-11-22 11:39:48 +01:00
|
|
|
#define CLICKABLE_BLOCKS 0
|
2023-10-24 05:14:31 +02:00
|
|
|
|
|
|
|
// Control whether a leading delimiter should be prepended to the status.
|
2023-11-22 11:39:48 +01:00
|
|
|
#define LEADING_DELIMITER 1
|
2023-10-24 05:14:31 +02:00
|
|
|
|
|
|
|
// Control whether a trailing delimiter should be appended to the status.
|
2023-11-22 11:39:48 +01:00
|
|
|
#define TRAILING_DELIMITER 1
|
2023-10-24 05:14:31 +02:00
|
|
|
|
|
|
|
// Define blocks for the status feed as X(cmd, interval, signal).
|
|
|
|
#define BLOCKS(X) \
|
2023-11-22 13:43:37 +01:00
|
|
|
X("sb-packages", 1800, 8) \
|
2023-11-22 20:41:21 +01:00
|
|
|
X("sb-disk ext4", 900, 10) \
|
2023-11-22 11:39:48 +01:00
|
|
|
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)
|
2023-11-16 04:38:29 +01:00
|
|
|
|
|
|
|
#endif // CONFIG_H
|