fix keymaps
Build/Publish XBPS / build-and-publish (push) Successful in 8s Details

This commit is contained in:
Luca Bilke 2024-04-18 13:23:37 +02:00
parent c0d66376b1
commit 1e15202605
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
1 changed files with 2 additions and 12 deletions

View File

@ -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} },