From c093ae93378a8462b39eae9d5f36e6aaeb5e2b2d Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Tue, 25 Dec 2007 11:53:16 +0100 Subject: LayoutScreens: haddock fixes darcs-hash:20071225105316-32816-7cff24e089520197d6a26b2567493c13c09ab96c.gz --- XMonad/Layout/LayoutScreens.hs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'XMonad/Layout/LayoutScreens.hs') diff --git a/XMonad/Layout/LayoutScreens.hs b/XMonad/Layout/LayoutScreens.hs index bb705fc..923ddba 100644 --- a/XMonad/Layout/LayoutScreens.hs +++ b/XMonad/Layout/LayoutScreens.hs @@ -30,14 +30,16 @@ import qualified XMonad.StackSet as W -- screen and long for greater flexibility (e.g. being able to see your -- email window at all times, a crude mimic of sticky windows). -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: +-- You can use this module with the following in your +-- @~\/.xmonad\/xmonad.hs@ file: -- -- > import XMonad.Layout.LayoutScreens +-- > import XMonad.Layout.TwoPane -- -- Then add some keybindings; for example: -- --- > , ((modMask .|. shiftMask, xK_space), layoutScreens 2 (TwoPane 0.5 0.5)) --- > , ((controlMask .|. modMask .|. shiftMask, xK_space), rescreen) +-- > , ((modMask x .|. shiftMask, xK_space), layoutScreens 2 (TwoPane 0.5 0.5)) +-- > , ((modMask x .|. controlMask .|. shiftMask, xK_space), rescreen) -- -- Another example use would be to handle a scenario where xrandr didn't -- work properly (e.g. a VNC X server in my case) and you want to be able @@ -45,9 +47,9 @@ import qualified XMonad.StackSet as W -- -- > import XMonad.Layout.LayoutScreens -- --- > , ((modMask .|. shiftMask, xK_space), +-- > , ((modMask x .|. shiftMask, xK_space), -- > layoutScreens 1 (fixedLayout [Rectangle 0 0 1024 768])) --- > , ((controlMask .|. modMask .|. shiftMask, xK_space), rescreen) +-- > , ((modMask x .|. controlMask .|. shiftMask, xK_space), rescreen) -- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". -- cgit v1.2.3