dwmblocks-custom/config.h

31 lines
828 B
C

#ifndef CONFIG_H
#define CONFIG_H
// String used to delimit block outputs in the status.
#define DELIMITER " | "
// Maximum number of Unicode characters that a block can output.
#define MAX_BLOCK_OUTPUT_LENGTH 500
// Control whether blocks are clickable.
#define CLICKABLE_BLOCKS 1
// Control whether a leading delimiter should be prepended to the status.
#define LEADING_DELIMITER 1
// Control whether a trailing delimiter should be appended to the status.
#define TRAILING_DELIMITER 0
// Define blocks for the status feed as X(cmd, interval, signal).
#define BLOCKS(X) \
X("sb-packages", 1800, 8) \
X("sb-disk", 900, 10) \
X("sb-memory", 10, 14) \
X("sb-cpu", 1, 18) \
X("sb-nettraf", 1, 18) \
X("sb-internet", 1, 18) \
X("sb-battery", 1, 18) \
X("sb-date", 1, 18) \
#endif // CONFIG_H