-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.h.key.bak
73 lines (64 loc) · 4.56 KB
/
config.h.key.bak
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
static Key keys[] = {
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_e, quit, {0} },
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
{ MODKEY|ShiftMask, XK_q, killclient, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } },
{ MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.02} },
{ MODKEY, XK_l, setmfact, {.f = +0.02} },
/* gaps */
{ MODKEY|Mod1Mask, XK_h, incrgaps, {.i = +1 } },
{ MODKEY|Mod1Mask, XK_l, incrgaps, {.i = -1 } },
{ MODKEY|Mod1Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } },
{ MODKEY|Mod1Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } },
{ MODKEY|Mod1Mask|ControlMask, XK_h, incrigaps, {.i = +1 } },
{ MODKEY|Mod1Mask|ControlMask, XK_l, incrigaps, {.i = -1 } },
{ MODKEY|Mod1Mask, XK_0, togglegaps, {0} },
{ MODKEY|Mod1Mask|ShiftMask, XK_0, defaultgaps, {0} },
/* { MODKEY, XK_y, incrihgaps, {.i = +1 } }, */
/* { MODKEY, XK_o, incrihgaps, {.i = -1 } }, */
/* { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } }, */
/* { MODKEY|ControlMask, XK_o, incrivgaps, {.i = -1 } }, */
/* { MODKEY|Mod1Mask, XK_y, incrohgaps, {.i = +1 } }, */
/* { MODKEY|Mod1Mask, XK_o, incrohgaps, {.i = -1 } }, */
/* { MODKEY|ShiftMask, XK_y, incrovgaps, {.i = +1 } }, */
/* { MODKEY|ShiftMask, XK_o, incrovgaps, {.i = -1 } }, */
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
{ Mod1Mask, XK_Tab, view, {0} },
/* { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, /1* tile *1/ */
/* { MODKEY|ShiftMask, XK_n, setlayout, {.v = &layouts[1]} }, /1* null *1/ */
/* { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, /1* monocle *1/ */
/* { MODKEY, XK_u, setlayout, {.v = &layouts[3]} }, /1* centered master *1/ */
/* { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, /1* center floating *1/ */
/* { MODKEY, XK_g, setlayout, {.v = &layouts[5]} }, /1* grid *1/ */
/* { MODKEY, XK_r, setlayout, {.v = &layouts[6]} }, /1* spiral *1/ */
/* { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[7]} }, /1* dwindle *1/ */
/* { MODKEY, XK_s, setlayout, {.v = &layouts[8]} }, /1* bottom stack *1/ */
/* { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[9]} }, /1* bottom stack horizontal *1/ */
/* { MODKEY, XK_a, setlayout, {.v = &layouts[10]} }, /1* deck *1/ */
/* layouts */
{ MODKEY|ControlMask, XK_comma, cyclelayout, {.i = -1 } },
{ MODKEY|ControlMask, XK_period, cyclelayout, {.i = +1 } },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY|ShiftMask, XK_f, togglefullscr, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
/* tagkeys */
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
};