summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter De Wachter <pdewacht@gmail.com>2007-07-17 21:07:22 +0200
committerPeter De Wachter <pdewacht@gmail.com>2007-07-17 21:07:22 +0200
commit815d894671bc1f9ee23738cec46f2ab3c28fe674 (patch)
tree081ed3918aae81322d007eeac03ebb6449b35c61
parent9a833a3e1fe67487b8523bcbb472cc215b043d93 (diff)
downloadmetatile-815d894671bc1f9ee23738cec46f2ab3c28fe674.tar
metatile-815d894671bc1f9ee23738cec46f2ab3c28fe674.zip
Tweak dmenu binding
Add an "eval", so quotes and environment variables get evaluated according to sh rules. darcs-hash:20070717190722-06a25-0c3b8a339adcd81ca6badfc7edbf8950c1105f3c
-rw-r--r--Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index 579a598..716e472 100644
--- a/Config.hs
+++ b/Config.hs
@@ -118,7 +118,7 @@ keys :: M.Map (KeyMask, KeySym) (X ())
keys = M.fromList $
-- launching and killing programs
[ ((modMask .|. shiftMask, xK_Return), spawn "xterm") -- @@ Launch an xterm
- , ((modMask, xK_p ), spawn "exe=`dmenu_path | dmenu` && exec $exe") -- @@ Launch dmenu
+ , ((modMask, xK_p ), spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"") -- @@ Launch dmenu
, ((modMask .|. shiftMask, xK_p ), spawn "gmrun") -- @@ Launch gmrun
, ((modMask .|. shiftMask, xK_c ), kill) -- @@ Close the focused window