# HG changeset patch # User Richard Poettler # Date 1197902748 -3600 # Node ID 5cfa4c60907b941e57cce5153b139f94118d1797 # Parent 3303e264391829016e8c0f15d84daef52f5ebcad Programms are now executed directly, instead of first assigned to $exe and then executed Some shells assign their variables differently (e.g. tcsh: set =) than sh (=). Now it should work for both shells. diff -r 3303e2643918 -r 5cfa4c60907b config.def.h --- a/config.def.h Sun Dec 09 13:39:29 2007 +0100 +++ b/config.def.h Mon Dec 17 15:45:48 2007 +0100 @@ -37,8 +37,8 @@ Key keys[] = { 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_path | dmenu -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 },