X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.def.h;h=e8ab532093d5fd7ba68c3711b1deabf2bca932f7;hp=006a6226bbdd36387949ff8648b4f69a4f2cee1a;hb=d5e8edcbcb341509ca3924fed67ca4f41fb5453b;hpb=17d39ee01458025a5b9f5087168f258933f0ccd9 diff --git a/config.def.h b/config.def.h index 006a622..e8ab532 100644 --- a/config.def.h +++ b/config.def.h @@ -3,28 +3,27 @@ /* appearance */ #define BARPOS BarTop /* BarBot, BarOff */ #define BORDERPX 1 -#define FONT "-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*" -#define NORMBORDERCOLOR "#333" -#define NORMBGCOLOR "#000" -#define NORMFGCOLOR "#ccc" -#define SELBORDERCOLOR "#f00" -#define SELBGCOLOR "#00f" -#define SELFGCOLOR "#fff" +#define FONT "-*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*" +#define NORMBORDERCOLOR "#cccccc" +#define NORMBGCOLOR "#cccccc" +#define NORMFGCOLOR "#000000" +#define SELBORDERCOLOR "#0066ff" +#define SELBGCOLOR "#0066ff" +#define SELFGCOLOR "#ffffff" /* tagging */ -const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; +const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; Rule rules[] = { /* class:instance:title regex tags regex isfloating */ - { "Firefox", "3", False }, + { "Firefox", "www", False }, { "Gimp", NULL, True }, { "MPlayer", NULL, True }, { "Acroread", NULL, True }, }; /* layout(s) */ -#define ISTILE isarrange(tile) +#define ISTILE isarrange(tile) /* || isarrange() */ #define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ -#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ #define SNAP 32 /* snap pixel */ Layout layouts[] = { /* symbol function */ @@ -40,8 +39,7 @@ Key keys[] = { \ { MODKEY, XK_p, spawn, \ "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \ " -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \ - { MODKEY|ShiftMask, XK_Return, spawn, \ - "exec xterm -bg '"NORMBGCOLOR"' -fg '"NORMFGCOLOR"' -cr '"NORMFGCOLOR"' +sb -fn '"FONT"'" }, \ + { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, \ { MODKEY, XK_space, setlayout, NULL }, \ { MODKEY, XK_b, togglebar, NULL }, \ { MODKEY, XK_j, focusnext, NULL }, \ @@ -50,6 +48,7 @@ Key keys[] = { \ { MODKEY, XK_l, setmwfact, "+0.05" }, \ { MODKEY, XK_m, togglemax, NULL }, \ { MODKEY, XK_Return, zoom, NULL }, \ + { MODKEY, XK_Tab, viewprevtag, NULL }, \ { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \ { MODKEY|ShiftMask, XK_c, killclient, NULL }, \ { MODKEY, XK_0, view, NULL }, \