dwmblocks-async/config.h
2021-10-07 10:40:19 +05:30

23 lines
403 B
C

#define CMDLENGTH 50
#define DELIMITER "<"
typedef struct {
char* command;
unsigned int interval;
unsigned int signal;
char output[CMDLENGTH];
int pipe[2];
} Block;
static Block blocks[] = {
{"sb-mail", 1800, 1},
{"sb-music", 0, 2},
{"sb-disk", 1800, 4},
{"sb-memory", 10, 3},
{"sb-loadavg", 10, 9},
{"sb-volume", 0, 5},
{"sb-battery", 5, 6},
{"sb-date", 20, 7},
{"sb-network", 5, 8}
};