aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-11-24 03:17:15 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2011-11-24 03:17:15 +0200
commit5c618fc0ce01f6b82a85d3d4341cc37945ef5007 (patch)
tree39cf3b1fc02168fc2838bcc9605d99974002f083 /src/config.h
parentce6210cb46a1f41229124afa37bc1086ff6996bd (diff)
apply resize patch
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.h b/src/config.h
index d275033..bce0695 100644
--- a/src/config.h
+++ b/src/config.h
@@ -76,13 +76,13 @@ const char *mtogglecmd[] = { "mpc", "toggle", NULL };
/** Shortcuts **/
static key keys[] = {
/* modifier key function argument */
- { MOD1, XK_h, decrease, {NULL} },
- { MOD1, XK_l, increase, {NULL} },
+ { MOD1, XK_h, resize, {.i = -10}}, /* decrease */
+ { MOD1, XK_l, resize, {.i = +10}}, /* increase */
{ MOD1|ShiftMask, XK_c, kill_client, {NULL} },
{ MOD1, XK_j, next_win, {NULL} },
{ MOD1, XK_k, prev_win, {NULL} },
- { MOD1, XK_p, grow_window, {NULL} },
- { MOD1, XK_o, shrink_window, {NULL} },
+ { MOD1, XK_o, resize_window, {.i = -10}}, /* shrink */
+ { MOD1, XK_p, resize_window, {.i = +10}}, /* grow */
{ MOD1, XK_Return, swap_master, {NULL} },
{ MOD1|ShiftMask, XK_j, move_down, {NULL} },
{ MOD1|ShiftMask, XK_k, move_up, {NULL} },