summaryrefslogtreecommitdiffstats
path: root/xmonad
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-04-22 03:57:54 -0500
committerJesse Luehrs <doy@tozt.net>2010-04-22 03:57:54 -0500
commit93dbf8d8f3c33f73cca59ba837444a94affa5fd2 (patch)
treeb988db9c010da52d5c04861c04457311f09e7ed3 /xmonad
parent0cdc489e6f3c2647c2be4e224d4a2010cc53a835 (diff)
downloadconf-93dbf8d8f3c33f73cca59ba837444a94affa5fd2.tar.gz
conf-93dbf8d8f3c33f73cca59ba837444a94affa5fd2.zip
add a couple prompts to xmonad, to replace gmrun
Diffstat (limited to 'xmonad')
-rw-r--r--xmonad/xmonad.hs10
1 files changed, 9 insertions, 1 deletions
diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs
index c8e0f73..6798cbb 100644
--- a/xmonad/xmonad.hs
+++ b/xmonad/xmonad.hs
@@ -14,6 +14,10 @@ import XMonad.Hooks.DynamicLog
import XMonad.Hooks.UrgencyHook
import XMonad.Layout.Reflect
import XMonad.Layout.WindowNavigation
+import XMonad.Prompt
+import XMonad.Prompt.AppLauncher
+import XMonad.Prompt.Shell
+import XMonad.Prompt.XMonad
import XMonad.Util.Font(stringToPixel)
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeysP)
@@ -42,7 +46,11 @@ main = do
} `additionalKeysP` [("C-M1-o", spawn "urxvtc")
,("C-M1-b", spawn "firefox")
,("C-S-l", spawn "xscreensaver-command -lock")
- ,("C-M1-r", spawn "gmrun")
+ ,("C-M1-r", shellPrompt defaultXPConfig)
+ ,("C-M1-x", xmonadPrompt defaultXPConfig)
+ ,("C-M1-f", launchApp defaultXPConfig "feh")
+ ,("C-M1-m", launchApp defaultXPConfig "mplayer")
+ ,("C-M1-p", launchApp defaultXPConfig "xpdf")
,("C-M1-c", restart "xmonad" True)
,("C-M1-<Left>", prevWS)
,("C-M1-<Right>", nextWS)