diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-15 16:05:28 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-15 16:05:28 +0100 |
commit | 84e624ca2714de7f583ab2a3f84385dd8c2380a5 (patch) | |
tree | 2d8e36735f8718d50ab28f8c25ad4e0e9cd52e12 /config.h | |
parent | Added nodmenu patch (diff) | |
download | dwm-84e624ca2714de7f583ab2a3f84385dd8c2380a5.tar.gz dwm-84e624ca2714de7f583ab2a3f84385dd8c2380a5.tar.bz2 dwm-84e624ca2714de7f583ab2a3f84385dd8c2380a5.tar.xz dwm-84e624ca2714de7f583ab2a3f84385dd8c2380a5.tar.zst dwm-84e624ca2714de7f583ab2a3f84385dd8c2380a5.zip |
Keys update
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -62,6 +62,7 @@ static const Layout layouts[] = { /* key definitions */ #define MODKEY Mod4Mask +#define METAKEY Mod1Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ @@ -108,14 +109,14 @@ static Key keys[] = { { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_a, incnmaster, {.i = +1 } }, - { MODKEY, XK_x, incnmaster, {.i = -1 } }, + { MODKEY|ControlMask, XK_a, incnmaster, {.i = +1 } }, + { MODKEY|ControlMask, XK_x, incnmaster, {.i = -1 } }, { MODKEY|ShiftMask, XK_h, setmfact, {.f = -0.025} }, { MODKEY|ShiftMask, XK_l, setmfact, {.f = +0.025} }, { MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } }, { MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, - { MODKEY, XK_Tab, view, {0} }, + { METAKEY, XK_Escape, view, {0} }, { MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_s, setlayout, {.v = &layouts[0]} }, /* nbtile */ { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[1]} }, /* nbstack */ @@ -143,8 +144,6 @@ static Key keys[] = { { MODKEY|ControlMask|ShiftMask, XK_Down, moveresizeedge, {.v = "B"} }, { MODKEY|ControlMask|ShiftMask, XK_Left, moveresizeedge, {.v = "L"} }, { MODKEY|ControlMask|ShiftMask, XK_Right, moveresizeedge, {.v = "R"} }, - { MODKEY, XK_0, view, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_bracketleft, focusmon, {.i = -1 } }, { MODKEY, XK_bracketright, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_bracketleft, tagmon, {.i = -1 } }, @@ -159,6 +158,8 @@ static Key keys[] = { TAGKEYS( XK_F6, 5) TAGKEYS( XK_F7, 6) TAGKEYS( XK_F8, 7) + { MODKEY, XK_F12, view, {.ui = ~0 } }, + { MODKEY|ShiftMask, XK_F12, tag, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_e, quit, {0} }, { MODKEY|ShiftMask, XK_r, quit, {1} }, }; |