aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/XPropManage.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-12-09 13:32:46 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-12-09 13:32:46 +0100
commitb55dc1b1b2e10e9c5dd56bb1fece37d596d3f06f (patch)
treebdf677276ddda3d65b32908f573a9038bee21e57 /XMonad/Hooks/XPropManage.hs
parent41651130bb0394a568a1c89a33334ff0094004fe (diff)
downloadXMonadContrib-b55dc1b1b2e10e9c5dd56bb1fece37d596d3f06f.tar.gz
XMonadContrib-b55dc1b1b2e10e9c5dd56bb1fece37d596d3f06f.tar.xz
XMonadContrib-b55dc1b1b2e10e9c5dd56bb1fece37d596d3f06f.zip
XPropManage: haddock fixes
darcs-hash:20071209123246-32816-eea9f73c2d2486712d5a1214f9e7bd2312c79fbe.gz
Diffstat (limited to 'XMonad/Hooks/XPropManage.hs')
-rw-r--r--XMonad/Hooks/XPropManage.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/XMonad/Hooks/XPropManage.hs b/XMonad/Hooks/XPropManage.hs
index 3f6c90f..adfe27b 100644
--- a/XMonad/Hooks/XPropManage.hs
+++ b/XMonad/Hooks/XPropManage.hs
@@ -27,15 +27,17 @@ import XMonad
import XMonad.ManageHook ((-->))
-- $usage
---
--- Add something like the following lines to Config.hs to use this module
+-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
--
-- > import XMonad.Hooks.XPropManage
---
+-- > import qualified XMonad.StackSet as W
+-- > import XMonad.Actions.TagWindows
+-- > import Data.List
+--
-- > manageHook = xPropManageHook xPropMatches
-- >
-- > xPropMatches :: [XPropMatch]
--- > xPropMatches = [ ([ (wM_CLASS, any ("gimp"==)))], (\w -> float w >> return (W.shift "2")))
+-- > xPropMatches = [ ([ (wM_CLASS, any ("gimp"==))], (\w -> float w >> return (W.shift "2")))
-- > , ([ (wM_COMMAND, any ("screen" ==)), (wM_CLASS, any ("xterm" ==))], pmX (addTag "screen"))
-- > , ([ (wM_NAME, any ("Iceweasel" `isInfixOf`))], pmP (W.shift "3"))
-- > ]