dwmblocks-custom/config.h

35 lines
866 B
C
Raw Permalink Normal View History

#ifndef CONFIG_H
#define CONFIG_H
2021-03-20 10:52:45 +01:00
// String used to delimit block outputs in the status.
2024-09-24 11:06:34 +02:00
#define DELIMITER " │ "
// Maximum number of Unicode characters that a block can output.
#define MAX_BLOCK_OUTPUT_LENGTH 500
// Control whether blocks are clickable.
2024-02-06 10:26:08 +01:00
#define CLICKABLE_BLOCKS 1
// Control whether a leading delimiter should be prepended to the status.
2024-02-03 19:02:37 +01:00
#define LEADING_DELIMITER 1
// Control whether a trailing delimiter should be appended to the status.
2024-04-17 22:36:40 +02:00
#define TRAILING_DELIMITER 0
// Define blocks for the status feed as X(cmd, interval, signal).
2024-09-23 11:30:14 +02:00
// X("sb-ip", 0, 3)
2024-02-03 19:02:37 +01:00
#define BLOCKS(X) \
2024-10-09 15:10:42 +02:00
X("sb-task", 0, 3) \
X("sb-packages", 0, 1) \
2024-07-24 18:21:09 +02:00
X("sb-disk", 10, 0) \
X("sb-memory", 10, 0) \
X("sb-cpu", 1, 0) \
X("sb-nettraf", 1, 0) \
X("sb-internet", 0, 2) \
2024-10-09 15:10:42 +02:00
X("sb-battery", 0, 4) \
2024-07-24 18:33:38 +02:00
X("sb-date", 1, 0) \
#endif // CONFIG_H