~kris/suckless

dwm

ref: 9ba6c8e751a1bf236b6e3f0839121d78a4a940f7 dwm/patch/stacker.h -rw-r--r-- 434 bytes
9ba6c8e7 — Kris Yotam Rebind reading mode to Super+Q, add directional tagmondir, enable selfrestart 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#define GETINC(X)               ((X) - 2000)
#define INC(X)                  ((X) + 2000)
#define ISINC(X)                ((X) > 1000 && (X) < 3000)
#define PREVSEL                 3000
#define MOD(N,M)                ((N)%(M) < 0 ? (N)%(M) + (M) : (N)%(M))
#define TRUNC(X,A,B)            (MAX((A), MIN((X), (B))))

static void focusstack(const Arg *arg);
static void pushstack(const Arg *arg);
static int stackpos(const Arg *arg);