aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2007-11-12 16:44:11 +0100
committerBrent Yorgey <byorgey@gmail.com>2007-11-12 16:44:11 +0100
commit462a070db69dd7138899159378c8dadf7ebf05c7 (patch)
tree0adbdb4631c3a97194c65f40e21e603872434a0a /XMonad
parentfb4e5e44adff8c70ca051cf42bfe461583a0ebc5 (diff)
downloadXMonadContrib-462a070db69dd7138899159378c8dadf7ebf05c7.tar.gz
XMonadContrib-462a070db69dd7138899159378c8dadf7ebf05c7.tar.xz
XMonadContrib-462a070db69dd7138899159378c8dadf7ebf05c7.zip
NoBorder.hs: documentation updates
darcs-hash:20071112154411-bd4d7-cfd47c16973ab874befd1f51eec751b7b718e8e7.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Layout/NoBorders.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/XMonad/Layout/NoBorders.hs b/XMonad/Layout/NoBorders.hs
index 8aa64fb..30ad907 100644
--- a/XMonad/Layout/NoBorders.hs
+++ b/XMonad/Layout/NoBorders.hs
@@ -35,14 +35,14 @@ import qualified XMonad.StackSet as W
import Data.List ((\\))
-- $usage
--- You can use this module with the following in your Config.hs file:
+-- You can use this module with the following in your ~/.xmonad/xmonad.hs file:
--
-- > import XMonad.Layout.NoBorders
--
-- and modify the layouts to call noBorders on the layouts you want to lack
--- borders
+-- borders:
--
--- > layouts = [ Layout (noBorders Full), ... ]
+-- > layoutHook = ... ||| noBorders Full ||| ...
--
-- %import XMonad.Layout.NoBorders
@@ -100,7 +100,7 @@ instance LayoutModifier SmartBorder Window where
-- | You can cleverly set no borders on a range of layouts, using a
-- layoutHook like so:
--
--- > layoutHook = Layout $ smartBorders $ Select layouts
+-- > layoutHook = smartBorders $ tiled ||| Mirror tiled ||| ...
--
smartBorders :: LayoutClass l a => l a -> ModifiedLayout SmartBorder l a
smartBorders = ModifiedLayout (SmartBorder [])