JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-k
[dwm.git] / config.default.h
index 9813ef7..2ccef42 100644 (file)
@@ -33,7 +33,7 @@ static Layout layout[] = { \
        { "[]=",                tile }, /* first entry is default */ \
        { "><>",                floating }, \
 };
-#define MASTERWIDTH            640             /* master width per thousand */
+#define MASTERWIDTH            600             /* master width per thousand */
 #define NMASTER                        1               /* clients in master area */
 #define SNAP                   32              /* snap pixel */
 
@@ -43,13 +43,14 @@ static Layout layout[] = { \
 static Key key[] = { \
        /* modifier                     key             function        argument */ \
        { MODKEY|ShiftMask,             XK_Return,      spawn,          "exec xterm" }, \
+       { MODKEY,                       XK_p,           spawn,          "exe=`dmenu_path | dmenu` && exec $exe" }, \
        { MODKEY,                       XK_space,       setlayout,      NULL }, \
-       { MODKEY,                       XK_d,           incnmaster,     "-1" }, \
-       { MODKEY,                       XK_i,           incnmaster,     "1" }, \
-       { MODKEY,                       XK_g,           incmasterw,     "32" }, \
-       { MODKEY,                       XK_s,           incmasterw,     "-32" }, \
-       { MODKEY,                       XK_Tab,         focusclient,    "1" }, \
-       { MODKEY|ShiftMask,             XK_Tab,         focusclient,    "-1" }, \
+       { MODKEY,                       XK_h,           incmasterw,     "-32" }, \
+       { MODKEY,                       XK_l,           incmasterw,     "32" }, \
+       { MODKEY|ShiftMask,             XK_j,           incnmaster,     "1" }, \
+       { MODKEY|ShiftMask,             XK_k,           incnmaster,     "-1" }, \
+       { MODKEY,                       XK_j,           focusclient,    "1" }, \
+       { MODKEY,                       XK_k,           focusclient,    "-1" }, \
        { MODKEY,                       XK_m,           togglemax,      NULL }, \
        { MODKEY,                       XK_Return,      zoom,           NULL }, \
        { MODKEY|ShiftMask,             XK_space,       togglefloating, NULL }, \