diff --git a/config.h b/config.h index 8c45d56..0fcb56b 100644 --- a/config.h +++ b/config.h @@ -189,16 +189,6 @@ static const Layout layouts[] = { { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} } -#define STACKKEYS(MOD,ACTION) \ - { MOD, XK_j, ACTION##stack, {.i = INC(+1) } }, \ - { MOD, XK_k, ACTION##stack, {.i = INC(-1) } }, \ - { MOD, XK_s, ACTION##stack, {.i = PREVSEL } }, \ - { MOD, XK_w, ACTION##stack, {.i = 0 } }, \ - { MOD, XK_e, ACTION##stack, {.i = 1 } }, \ - { MOD, XK_a, ACTION##stack, {.i = 2 } }, \ - { MOD, XK_z, ACTION##stack, {.i = -1 } }, - - /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } @@ -310,9 +300,9 @@ static const Key keys[] = { { MODKEY, XK_q, killclient, {0} }, // { MODKEY | ShiftMask, XK_q, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_j, focusdir, {.i = 3} }, - { MODKEY | ShiftMask, XK_j, focusstack, {.i = INC(-1) } }, + { MODKEY | ShiftMask, XK_j, focusstack, {.i = INC(+1) } }, { MODKEY, XK_k, focusdir, {.i = 2} }, - { MODKEY | ShiftMask, XK_k, focusstack, {.i = INC(+1) } }, + { MODKEY | ShiftMask, XK_k, focusstack, {.i = INC(-1) } }, { MODKEY, XK_x, togglefloating, {0} }, { MODKEY | ShiftMask, XK_x, unfloatvisible, {0} }, { MODKEY, XK_b, togglescratch, {.v = spinet} },