aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/Commands.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--XMonad/Actions/Commands.hs (renamed from Commands.hs)12
1 files changed, 6 insertions, 6 deletions
diff --git a/Commands.hs b/XMonad/Actions/Commands.hs
index dd97ad5..eaf6624 100644
--- a/Commands.hs
+++ b/XMonad/Actions/Commands.hs
@@ -1,6 +1,6 @@
-----------------------------------------------------------------------------
-- |
--- Module : XMonadContrib.Commands
+-- Module : XMonad.Actions.Commands
-- Copyright : (c) David Glasser 2007
-- License : BSD3
--
@@ -10,11 +10,11 @@
--
-- Allows you to run internal xmonad commands (X () actions) using
-- a dmenu menu in addition to key bindings. Requires dmenu and
--- the Dmenu XMonadContrib module.
+-- the Dmenu XMonad.Actions module.
--
-----------------------------------------------------------------------------
-module XMonadContrib.Commands (
+module XMonad.Actions.Commands (
-- * Usage
-- $usage
commandMap,
@@ -28,7 +28,7 @@ module XMonadContrib.Commands (
import XMonad
import XMonad.Operations
import XMonad.StackSet hiding (workspaces)
-import XMonadContrib.Dmenu (dmenu)
+import XMonad.Util.Dmenu (dmenu)
import XMonad.Layouts
import Control.Monad.Reader
@@ -40,7 +40,7 @@ import Data.Maybe
--
-- To use, modify your Config.hs to:
--
--- > import XMonadContrib.Commands
+-- > import XMonad.Actions.Commands
--
-- and add a keybinding to the runCommand action:
--
@@ -58,7 +58,7 @@ import Data.Maybe
-- %def commands :: [(String, X ())]
-- %def commands = defaultCommands
--- %import XMonadContrib.Commands
+-- %import XMonad.Actions.Commands
-- %keybind , ((modMask .|. controlMask, xK_y), runCommand commands)
commandMap :: [(String, X ())] -> M.Map String (X ())