From 5c618fc0ce01f6b82a85d3d4341cc37945ef5007 Mon Sep 17 00:00:00 2001
From: Ivan Kanakarakis <ivan.kanak@gmail.com>
Date: Thu, 24 Nov 2011 03:17:15 +0200
Subject: apply resize patch

---
 src/config.h.def | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/config.h.def')

diff --git a/src/config.h.def b/src/config.h.def
index 4d5fa41..75c4f1f 100644
--- a/src/config.h.def
+++ b/src/config.h.def
@@ -77,14 +77,14 @@ const char* shutdowncmd[]   = {"sudo","shutdown","-h","now",NULL};
 // Shortcuts
 static key keys[] = {
     // MOD               KEY             FUNCTION            ARGS
-    {  MOD1,             XK_h,          increase,          {NULL}},
-    {  MOD1,             XK_l,          decrease,          {NULL}},
+    {  MOD1,             XK_h,          resize,            {.i = -10}}, /* decrease */
+    {  MOD1,             XK_l,          resize,            {.i = +10}}, /* increase */
     {  MOD1,             XK_c,          kill_client,       {NULL}},
     {  MOD1,             XK_j,          next_win,          {NULL}},
     {  MOD1,             XK_k,          prev_win,          {NULL}},
     {  MOD1,             XK_v,          spawn,             {.com = dmenucmd}},
-    {  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,     spawn,             {.com = urxvtcmd}},
     {  MOD1,             XK_Up,	        spawn,             {.com = volupcmd}},
     {  MOD1,             XK_Down,       spawn,             {.com = voldowncmd}},
-- 
cgit v1.3.1

