JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed wrong tagging stuff
[dwm.git] / config.def.h
index 25bf3e6..3cb562a 100644 (file)
@@ -13,7 +13,7 @@
 
 /* tagging */
 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" };
-Bool seltags[LENGTH(tags)] = {[0] = True};
+Bool initags[LENGTH(tags)] = {[0] = True};
 Rule rules[] = {
        /* class:instance:title regex   tags regex      isfloating */
        { "Firefox",                    "www",          False },
@@ -37,8 +37,7 @@ Layout layouts[] = {
 Key keys[] = {
        /* modifier                     key             function        argument */
        { MODKEY,                       XK_p,           spawn,
-               "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'"
-               " -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" },
+               "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
        { MODKEY|ShiftMask,             XK_Return,      spawn, "exec uxterm" },
        { MODKEY,                       XK_space,       setlayout,      NULL },
        { MODKEY,                       XK_b,           togglebar,      NULL },