mirror of
https://github.com/mintycube/dwmblocks.git
synced 2024-10-22 14:05:47 +02:00
14 lines
253 B
C
14 lines
253 B
C
#pragma once
|
|
|
|
#include <signal.h>
|
|
|
|
#include "config.h"
|
|
#include "util.h"
|
|
|
|
#define REFRESH_SIGNAL SIGUSR1
|
|
|
|
// Utilise C's adjacent string concatenation to count the number of blocks.
|
|
#define X(...) "."
|
|
enum { BLOCK_COUNT = LEN(BLOCKS(X)) - 1 };
|
|
#undef X
|