dwmblocks-custom/config.h

31 lines
1.1 KiB
C
Raw 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.
2023-11-22 11:39:48 +01:00
#define DELIMITER " | "
// Maximum number of Unicode characters that a block can output.
2023-11-22 11:39:48 +01:00
#define MAX_BLOCK_OUTPUT_LENGTH 300
// Control whether blocks are clickable.
2023-11-22 11:39:48 +01:00
#define CLICKABLE_BLOCKS 0
// Control whether a leading delimiter should be prepended to the status.
2023-12-22 14:04:29 +01:00
#define LEADING_DELIMITER 0
// Control whether a trailing delimiter should be appended to the status.
2023-11-22 11:39:48 +01:00
#define TRAILING_DELIMITER 1
// Define blocks for the status feed as X(cmd, interval, signal).
#define BLOCKS(X) \
2024-02-01 18:56:28 +01:00
X("$HOME/.local/libexec/statusbar/sb-packages", 1800, 8) \
X("$HOME/.local/libexec/statusbar/sb-disk", 900, 10) \
X("$HOME/.local/libexec/statusbar/sb-memory", 10, 14) \
X("$HOME/.local/libexec/statusbar/sb-cpu", 1, 18) \
X("$HOME/.local/libexec/statusbar/sb-nettraf", 1, 18) \
X("$HOME/.local/libexec/statusbar/sb-internet", 1, 18) \
X("$HOME/.local/libexec/statusbar/sb-battery", 1, 18) \
X("$HOME/.local/libexec/statusbar/sb-date", 1, 18) \
#endif // CONFIG_H