X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.default.h;h=2ccef4239c57843c21eda62f099eaa411a2be19f;hb=2122e39ce152d9ce9eadef70a6151097d5c10484;hp=9813ef7bb7d589adc5bfa4998855401c8b8adcee;hpb=338c0838580b32f1258a800392d93cf973baf1e6;p=dwm.git diff --git a/config.default.h b/config.default.h index 9813ef7..2ccef42 100644 --- a/config.default.h +++ b/config.default.h @@ -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 }, \