dwmblocks/config.h
2026-08-22 16:29:15 +02:00

25 lines
733 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 45
// Control whether blocks are clickable.
#define CLICKABLE_BLOCKS 0
// Control whether a leading delimiter should be prepended to the status.
#define LEADING_DELIMITER 0
// Control whether a trailing delimiter should be appended to the status.
#define TRAILING_DELIMITER 0
// Define blocks for the status feed as X(icon, cmd, interval, signal).
#define BLOCKS(X) \
X(" ", "date '+%d.%m.%Y / %H:%M:%S'", 1, 1) \
X(" ", "bat.sh", 1, 1) \
X(" ", "wp.sh", 1, 1)
#endif // CONFIG_H