From 6cd8425c76b829097da910ebad2e44a99c8c7a17 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Mon, 12 Nov 2007 15:44:11 +0000 Subject: [PATCH] NoBorder.hs: documentation updates --- XMonad/Layout/NoBorders.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/XMonad/Layout/NoBorders.hs b/XMonad/Layout/NoBorders.hs index 8aa64fb1..30ad9072 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 [])