mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 04:01:52 -07:00
Tweak dmenu binding
Add an "eval", so quotes and environment variables get evaluated according to sh rules.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user