1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef USER_CONFIG
#define USER_CONFIG
#include <X11/keysym.h>
#include "defs.h"
#define BORDER_WIDTH 5
#define BORDER_FOC_COL "#AAFFFA" // the border color when focused
#define BORDER_UFOC_COL "#FF4439" // the border color when unfocused
#define GAPS 10 // how many pixels wide the border is
#define MASTER_WIDTH 0.6 // how much of the screen the master window takes up (0.0-1.0)
#define MOTION_THROTTLE 144 // set this to your screen refreshrate
#define SNAP_DISTANCE 10 // snap distance
static const char *termcmd[] = {"st", NULL};
#define MOD ALT
static const Binding binds[] = {
BIND(MOD, Return, termcmd),
CALL(MOD|SHIFT, e, quit),
CALL(MOD, j, focus_next),
CALL(MOD, k, focus_prev),
CALL(MOD|SHIFT, q, close_focused),
CALL(MOD, f, toggle_floating),
CALL(MOD, equal, inc_gaps),
CALL(MOD, minus, dec_gaps),
CALL(MOD, space, toggle_floating_global),
};
#endif
|