X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.default.h;h=2d132384386c862c74376690ff1e7d7f3959b3db;hp=9813ef7bb7d589adc5bfa4998855401c8b8adcee;hb=d934296476be7345842fec1a2630d1752c704078;hpb=338c0838580b32f1258a800392d93cf973baf1e6 diff --git a/config.default.h b/config.default.h index 9813ef7..2d13238 100644 --- a/config.default.h +++ b/config.default.h @@ -1,8 +1,12 @@ -/* (C)opyright MMVI-MMVII Anselm R. Garbe - * See LICENSE file for license details. - */ +/* © 2006-2007 Anselm R. Garbe + * © 2006-2007 Sander van Dijk + * © 2006-2007 Jukka Salmi + * © 2007 Premysl Hruby + * © 2007 Szabolcs Nagy + * See LICENSE file for license details. */ /* appearance */ +#define BARPOS BarTop /* BarBot, BarOff */ #define BORDERPX 1 #define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" #define NORMBORDERCOLOR "#dddddd" @@ -11,9 +15,8 @@ #define SELBORDERCOLOR "#ff0000" #define SELBGCOLOR "#006699" #define SELFGCOLOR "#ffffff" -#define TOPBAR True /* False */ -/* behavior */ +/* tagging */ #define TAGS \ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; /* Query class:instance:title for regex matching info with following command: @@ -33,7 +36,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 +46,15 @@ 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_b, togglebar, NULL }, \ + { 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 }, \