diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-10-24 12:53:54 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-10-24 12:53:54 +0200 |
commit | 77936fc4fb5f8948fe98c55638940cea4cf70c01 (patch) | |
tree | 67dade488e52825bd351878ecb71d22e9e9483ad /Config.hs | |
parent | 1d8b3c47780fc7b1a1bcb48f727fb9209f8ee106 (diff) | |
download | xmonad-77936fc4fb5f8948fe98c55638940cea4cf70c01.tar.gz xmonad-77936fc4fb5f8948fe98c55638940cea4cf70c01.tar.xz xmonad-77936fc4fb5f8948fe98c55638940cea4cf70c01.zip |
Add Config.terminal
darcs-hash:20071024105354-a5988-089d5615bc05c007d6713eaeaa1fe19af02a4e7d.gz
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -178,6 +178,11 @@ logHook = return () ------------------------------------------------------------------------ -- Key bindings: +-- | The preferred terminal program, which is used in a binding below and by +-- certain contrib modules. +terminal :: String +terminal = "xterm" + -- | The xmonad key bindings. Add, modify or remove key bindings here. -- -- (The comment formatting character is used when generating the manpage) @@ -185,7 +190,7 @@ logHook = return () keys :: M.Map (KeyMask, KeySym) (X ()) keys = M.fromList $ -- launching and killing programs - [ ((modMask .|. shiftMask, xK_Return), spawn "xterm") -- %! Launch an xterm + [ ((modMask .|. shiftMask, xK_Return), spawn terminal) -- %! Launch terminal , ((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 |