From b55dc1b1b2e10e9c5dd56bb1fece37d596d3f06f Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Sun, 9 Dec 2007 13:32:46 +0100 Subject: XPropManage: haddock fixes darcs-hash:20071209123246-32816-eea9f73c2d2486712d5a1214f9e7bd2312c79fbe.gz --- XMonad/Hooks/XPropManage.hs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'XMonad/Hooks/XPropManage.hs') 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")) -- > ] -- cgit v1.2.3