aboutsummaryrefslogtreecommitdiffstats
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
commit432fe0bb35ab5d93f867641a9b6778f0a90048f4 (patch)
tree081ed3918aae81322d007eeac03ebb6449b35c61
parenteb516c00e47b84424a002dc61015c63d68ba2780 (diff)
downloadxmonad-432fe0bb35ab5d93f867641a9b6778f0a90048f4.tar.gz
xmonad-432fe0bb35ab5d93f867641a9b6778f0a90048f4.tar.xz
xmonad-432fe0bb35ab5d93f867641a9b6778f0a90048f4.zip
Tweak dmenu binding
Add an "eval", so quotes and environment variables get evaluated according to sh rules. darcs-hash:20070717190722-06a25-0c3b8a339adcd81ca6badfc7edbf8950c1105f3c.gz
-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