dwmblocks-custom/config.h
Luca Bilke 89562e189a
All checks were successful
Update void-packages template / Update xbps-src template (push) Successful in 8s
disable sb-task
2025-04-30 10:30:55 +02:00

34 lines
872 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).
// X("sb-ip", 0, 3)
#define BLOCKS(X) \
X("sb-syncthing", 1, 0) \
X("sb-packages", 0, 1) \
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) \
X("sb-battery", 10, 4) \
X("sb-date", 1, 0) \
#endif // CONFIG_H