diff options
author | Valery V. Vorotyntsev <valery.vv@gmail.com> | 2007-11-14 16:34:18 +0100 |
---|---|---|
committer | Valery V. Vorotyntsev <valery.vv@gmail.com> | 2007-11-14 16:34:18 +0100 |
commit | fe55d0845c351e8ca15dcb4aade79fbda671f221 (patch) | |
tree | 8c056699d85d8b9eaed7e6fd348eb2b630f8b17f | |
parent | fe7c8a905033464f768af4c7223c7977e8e0211d (diff) | |
download | XMonadContrib-fe55d0845c351e8ca15dcb4aade79fbda671f221.tar.gz XMonadContrib-fe55d0845c351e8ca15dcb4aade79fbda671f221.tar.xz XMonadContrib-fe55d0845c351e8ca15dcb4aade79fbda671f221.zip |
CustomKeys.hs: moved into `Util' directory
I still wonder why do we need all those configuration examples. :)
darcs-hash:20071114153418-ae588-f5280e0c2f0de7aebec97b81f934b2529aba4f0f.gz
-rw-r--r-- | XMonad/Util/CustomKeys.hs (renamed from XMonad/Config/CustomKeys.hs) | 18 | ||||
-rw-r--r-- | XMonad/Util/EZConfig.hs | 2 | ||||
-rw-r--r-- | xmonad-contrib.cabal | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/XMonad/Config/CustomKeys.hs b/XMonad/Util/CustomKeys.hs index a35ec97..7c7a239 100644 --- a/XMonad/Config/CustomKeys.hs +++ b/XMonad/Util/CustomKeys.hs @@ -1,6 +1,6 @@ -------------------------------------------------------------------- -- | --- Module : XMonad.Config.CustomKeys +-- Module : XMonad.Util.CustomKeys -- Copyright : (c) 2007 Valery V. Vorotyntsev -- License : BSD3-style (see LICENSE) -- @@ -11,12 +11,12 @@ -- (See also "XMonad.Util.EZConfig" in xmonad-contrib.) -------------------------------------------------------------------- -module XMonad.Config.CustomKeys ( - -- * Usage - -- $usage - customKeys - , customKeysFrom - ) where +module XMonad.Util.CustomKeys ( + -- * Usage + -- $usage + customKeys + , customKeysFrom + ) where import XMonad import Graphics.X11.Xlib @@ -28,7 +28,7 @@ import qualified Data.Map as M -- -- 1. In @~\/.xmonad\/xmonad.hs@ add: -- --- > import XMonad.Config.CustomKeys +-- > import XMonad.Util.CustomKeys -- -- 2. Set key bindings with 'customKeys': -- @@ -48,7 +48,7 @@ import qualified Data.Map as M -- > ] -- | Customize 'XMonad.Config.defaultConfig' -- delete needless --- shortcuts and insert the ones you use. +-- shortcuts and insert those you will use. customKeys :: (XConfig Layout -> [(KeyMask, KeySym)]) -- ^ shortcuts to delete -> (XConfig Layout -> [((KeyMask, KeySym), X ())]) -- ^ key bindings to insert -> XConfig Layout -> M.Map (KeyMask, KeySym) (X ()) diff --git a/XMonad/Util/EZConfig.hs b/XMonad/Util/EZConfig.hs index 3690f98..903a39e 100644 --- a/XMonad/Util/EZConfig.hs +++ b/XMonad/Util/EZConfig.hs @@ -8,7 +8,7 @@ -- -- Useful helper functions for amending the defaultConfig. -- --- (See also "XMonad.Config.CustomKeys" in xmonad-contrib.) +-- (See also "XMonad.Util.CustomKeys" in xmonad-contrib.) -- -------------------------------------------------------------------- diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal index a689253..056cf5e 100644 --- a/xmonad-contrib.cabal +++ b/xmonad-contrib.cabal @@ -53,7 +53,6 @@ library XMonad.Config.Dons XMonad.Config.Arossato XMonad.Config.Droundy - XMonad.Config.CustomKeys XMonad.Hooks.DynamicLog XMonad.Hooks.EwmhDesktops XMonad.Hooks.ManageDocks @@ -100,6 +99,7 @@ library XMonad.Prompt.Workspace XMonad.Prompt.XMonad XMonad.Util.Anneal + XMonad.Util.CustomKeys XMonad.Util.Dmenu XMonad.Util.Dzen XMonad.Util.EZConfig |