dwmblocks/config.h

31 lines
929 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-03 07:37:21 +02:00
#define DELIMITER " "
// #define DELIMITER " ^c#37474f^󰄽 ^d^"
2024-06-25 13:38:00 +02:00
// #define DELIMITER " ^c#37474f^:: ^d^"
// #define DELIMITER " ^c#37474f^^d^ "
// Maximum number of Unicode characters that a block can output.
#define MAX_BLOCK_OUTPUT_LENGTH 45
// Control whether blocks are clickable.
#define CLICKABLE_BLOCKS 1
// 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) \
2024-06-25 13:38:00 +02:00
X("", "cat /tmp/recordingicon 2>/dev/null", 0, 9) \
X("", "sb-internet", 5, 4) \
X("", "sb-volume", 0, 8) \
X("", "sb-battery", 5, 21) \
X("", "sb-clock", 60, 1)
#endif // CONFIG_H