diff options
author | Peter De Wachter <pdewacht@gmail.com> | 2007-07-17 21:07:22 +0200 |
---|---|---|
committer | Peter De Wachter <pdewacht@gmail.com> | 2007-07-17 21:07:22 +0200 |
commit | 815d894671bc1f9ee23738cec46f2ab3c28fe674 (patch) | |
tree | 081ed3918aae81322d007eeac03ebb6449b35c61 | |
parent | 9a833a3e1fe67487b8523bcbb472cc215b043d93 (diff) | |
download | metatile-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.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |