aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgwern0 <gwern0@gmail.com>2007-11-06 20:02:58 +0100
committergwern0 <gwern0@gmail.com>2007-11-06 20:02:58 +0100
commit0f6ce75490f0b27998a3c490fa561c4762214530 (patch)
tree7ec3c3738e5b1d3f0bdf90ac9d54866fecfb4a63
parentbdcab48838281cb157b5d8bc9d4a2e53d86412d1 (diff)
downloadXMonadContrib-0f6ce75490f0b27998a3c490fa561c4762214530.tar.gz
XMonadContrib-0f6ce75490f0b27998a3c490fa561c4762214530.tar.xz
XMonadContrib-0f6ce75490f0b27998a3c490fa561c4762214530.zip
Update docs in Util
darcs-hash:20071106190258-f7719-8a4db55e87a0ab36f5d491fbc207112cf4167520.gz
-rw-r--r--XMonad/Util/Dzen.hs2
-rw-r--r--XMonad/Util/NamedWindows.hs10
-rw-r--r--XMonad/Util/XSelection.hs4
3 files changed, 7 insertions, 9 deletions
diff --git a/XMonad/Util/Dzen.hs b/XMonad/Util/Dzen.hs
index fa7c54c..929dbc3 100644
--- a/XMonad/Util/Dzen.hs
+++ b/XMonad/Util/Dzen.hs
@@ -54,14 +54,12 @@ dzenScreen sc str timeout = dzenWithArgs str ["-xs", screen] timeout
-- | Flashes when a window requests your attention and you can't see it. For use with
-- XMonadContrib.UrgencyHook. Usage:
---
-- > urgencyHook = dzenUrgencyHook (5 `seconds`)
dzenUrgencyHook :: Int -> Window -> X ()
dzenUrgencyHook = dzenUrgencyHookWithArgs []
-- | Flashes when a window requests your attention and you can't see it. For use with
-- XMonadContrib.UrgencyHook. Usage:
---
-- > urgencyHook = dzenUrgencyHookWithArgs ["-bg", "darkgreen"] (5 `seconds`)
dzenUrgencyHookWithArgs :: [String] -> Int -> Window -> X ()
dzenUrgencyHookWithArgs args duration w = do
diff --git a/XMonad/Util/NamedWindows.hs b/XMonad/Util/NamedWindows.hs
index 05613b2..3f0e3e8 100644
--- a/XMonad/Util/NamedWindows.hs
+++ b/XMonad/Util/NamedWindows.hs
@@ -16,10 +16,10 @@
module XMonad.Util.NamedWindows (
-- * Usage
-- $usage
- NamedWindow,
- getName,
- withNamedWindow,
- unName
+ NamedWindow,
+ getName,
+ withNamedWindow,
+ unName
) where
import Control.Monad.Reader ( asks )
@@ -33,7 +33,7 @@ import Graphics.X11.Xlib.Extras
import XMonad
-- $usage
--- See "XMonadContrib.Mosaic" for an example of its use.
+-- See "XMonad.Layout.Mosaic" for an example of its use.
data NamedWindow = NW !String !Window
diff --git a/XMonad/Util/XSelection.hs b/XMonad/Util/XSelection.hs
index 57b45b5..61fe07d 100644
--- a/XMonad/Util/XSelection.hs
+++ b/XMonad/Util/XSelection.hs
@@ -1,6 +1,6 @@
-----------------------------------------------------------------------------
-- |
--- Module : XMonadContrib.XSelection
+-- Module : XMonad.Util.XSelection
-- Copyright : (C) 2007 Andrea Rossato, Matthew Sackman
-- License : BSD3
--
@@ -43,7 +43,7 @@ import XMonad.Util.Run (safeSpawn, unsafeSpawn)
import XMonad (X, io)
{- $usage
- Add 'import XMonadContrib.XSelection' to the top of Config.hs
+ Add 'import XMonad.Util.XSelection' to the top of Config.hs
Then make use of getSelection or promptSelection as needed; if
one wanted to run Firefox with the selection as an argument (say,
the selection is an URL you just highlighted), then one could add