diff options
| author | bakkeby <[email protected]> | 2021-02-11 12:29:48 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-02-11 12:29:48 +0100 |
| commit | 9fcfa8d6ce45d7c7530f447c200ab8977c997e78 (patch) | |
| tree | c0d004e877d093cbb8988b5403f99f10b2dc2615 /config.def.h | |
| parent | 1d092253e3b9ee5e310957d83edb2effad10cdb8 (diff) | |
| download | dwm-flexipatch-9fcfa8d6ce45d7c7530f447c200ab8977c997e78.tar.gz dwm-flexipatch-9fcfa8d6ce45d7c7530f447c200ab8977c997e78.zip | |
Adding focusdir patch
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 9bad46f..58e6b1a 100644 --- a/config.def.h +++ b/config.def.h @@ -768,6 +768,12 @@ static Key keys[] = { { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, #endif // STACKER_PATCH + #if FOCUSDIR_PATCH + { MODKEY, XK_Left, focusdir, {.i = 0 } }, // left + { MODKEY, XK_Right, focusdir, {.i = 1 } }, // right + { MODKEY, XK_Up, focusdir, {.i = 2 } }, // up + { MODKEY, XK_Down, focusdir, {.i = 3 } }, // down + #endif // FOCUSDIR_PATCH #if SWAPFOCUS_PATCH && PERTAG_PATCH { MODKEY, XK_s, swapfocus, {.i = -1 } }, #endif // SWAPFOCUS_PATCH @@ -952,8 +958,8 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, #if FOCUSADJACENTTAG_PATCH - { MODKEY, XK_Left, viewtoleft, {0} }, - { MODKEY, XK_Right, viewtoright, {0} }, + { MODKEY, XK_Left, viewtoleft, {0} }, // note keybinding conflict with focusdir + { MODKEY, XK_Right, viewtoright, {0} }, // note keybinding conflict with focusdir { MODKEY|ShiftMask, XK_Left, tagtoleft, {0} }, { MODKEY|ShiftMask, XK_Right, tagtoright, {0} }, { MODKEY|ControlMask, XK_Left, tagandviewtoleft, {0} }, |
