diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 19:33:06 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 19:33:06 +0900 |
| commit | 756456d9fbdf24152cfb3f1f967f0cca092bcb6d (patch) | |
| tree | 37c6dfd3cb1f669a5927a35933b5de237acb6593 /dwm/config.h | |
| parent | 4719fd8c330d4ee503371c115d1dd7b72cbe831b (diff) | |
modified dwm/config.h
Diffstat (limited to 'dwm/config.h')
| -rw-r--r-- | dwm/config.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/dwm/config.h b/dwm/config.h index 522e856..8a3b420 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -140,21 +140,21 @@ static const Layout layouts[] = { { {ShiftMask,0,0,0}, {KEY,0,0,0}, tag, { .ui = 1 << TAG} }, \ { {ControlMask|ShiftMask,0,0,0}, {KEY,0,0,0}, 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_space, ACTION##stack, { .i = 0 } }, \ - { MOD, XK_a, ACTION##stack, { .i = 1 } }, \ - { MOD, XK_z, ACTION##stack, { .i = -1 } }, \ - { MOD, XK_Tab, ACTION##stack, { .i = PREVSEL } }, \ +#define STACKKEYS(MOD, ACTION) \ + { MOD, XK_j, ACTION##stack, { .i = INC(+1) } }, \ + { MOD, XK_k, ACTION##stack, { .i = INC(-1) } }, \ + { MOD, XK_Tab, ACTION##stack, { .i = PREVSEL } }, \ + { MOD, XK_space, ACTION##stack, { .i = 0 } }, \ + { MOD, XK_a, ACTION##stack, { .i = 1 } }, \ + { MOD, XK_z, ACTION##stack, { .i = -1 } }, #define CSTACKKEYS(MOD, ACTION) \ - { {MOD,0,0,0}, {XK_j, 0,0,0}, ACTION##stack, { .i = INC(+1) } }, \ - { {MOD,0,0,0}, {XK_k, 0,0,0}, ACTION##stack, { .i = INC(-1) } }, \ - { {MOD,0,0,0}, {XK_Tab,0,0,0}, ACTION##stack, { .i = PREVSEL } }, \ - { {MOD,0,0,0}, {XK_x, 0,0,0}, ACTION##stack, { .i = 0 } }, \ - { {MOD,0,0,0}, {XK_a, 0,0,0}, ACTION##stack, { .i = 1 } }, \ - { {MOD,0,0,0}, {XK_z, 0,0,0}, ACTION##stack, { .i = -1 } }, + { {MOD,0,0,0}, {XK_j, 0,0,0}, ACTION##stack, { .i = INC(+1) } }, \ + { {MOD,0,0,0}, {XK_k, 0,0,0}, ACTION##stack, { .i = INC(-1) } }, \ + { {MOD,0,0,0}, {XK_Tab, 0,0,0}, ACTION##stack, { .i = PREVSEL } }, \ + { {MOD,0,0,0}, {XK_space, 0,0,0}, ACTION##stack, { .i = 0 } }, \ + { {MOD,0,0,0}, {XK_a, 0,0,0}, ACTION##stack, { .i = 1 } }, \ + { {MOD,0,0,0}, {XK_z, 0,0,0}, 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 } } @@ -444,9 +444,9 @@ static const Key keys[] = { // TRAVERSALS { MODKEY, XK_apostrophe, togglemark, {0} }, - { MODKEY | ShiftMask, XK_Tab, swapfocus, {0} }, - { MODKEY | ControlMask, XK_Tab, swapclient, {0} }, { MODKEY2, XK_Tab, view, {0} }, + { MODKEY2 | ShiftMask, XK_Tab, swapfocus, {0} }, + { MODKEY2 | ControlMask, XK_Tab, swapclient, {0} }, { MODKEY, XK_0, view, { .ui = ~0 } }, { MODKEY | ShiftMask, XK_0, tag, { .ui = ~0 } }, { MODKEY2, XK_bracketleft, shiftview, { .i = -1 } }, |
