Changed increment/decrement keybinds, adding dmenu launcher

This commit is contained in:
jon
2020-10-05 18:22:25 -05:00
parent 5cab3cf6c1
commit b05b22ae95

View File

@@ -84,6 +84,7 @@ static const char *vol_down[] = { "volume_down.sh", NULL};
static const char *mpc_play[] = { "mpc_play", NULL}; static const char *mpc_play[] = { "mpc_play", NULL};
static const char *mpc_pause[] = { "mpc_pause", NULL}; static const char *mpc_pause[] = { "mpc_pause", NULL};
static const char *calccmd[] = { "speedcrunch", NULL}; static const char *calccmd[] = { "speedcrunch", NULL};
static const char *jmenu[] = {"jmenu", NULL};
static Key keys[] = { static Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */
@@ -92,8 +93,9 @@ static Key keys[] = {
{ MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_d, spawn, {.v = jmenu } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Return, zoom, {0} },