From 2527d001e977e346b8c70bbb61c3a828b8b82eec Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Mon, 15 Oct 2007 22:59:01 +0200 Subject: defaultLayout -> layoutHook darcs-hash:20071015205901-a5988-b70eee6f46dac1c5cc4c73f64fa03c2a673c0993.gz --- WindowNavigation.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WindowNavigation.hs') diff --git a/WindowNavigation.hs b/WindowNavigation.hs index 04a323b..8c66a5a 100644 --- a/WindowNavigation.hs +++ b/WindowNavigation.hs @@ -39,7 +39,7 @@ import XMonadContrib.XUtils -- -- > import XMonadContrib.WindowNavigation -- > --- > defaultLayout = Layout $ windowNavigation defaultWNConfig $ Select ... +-- > layoutHook = Layout $ windowNavigation defaultWNConfig $ Select ... -- -- In keybindings: -- @@ -57,9 +57,9 @@ import XMonadContrib.XUtils -- %keybind , ((modMask .|. controlMask, xK_Left), sendMessage $ Swap L) -- %keybind , ((modMask .|. controlMask, xK_Up), sendMessage $ Swap U) -- %keybind , ((modMask .|. controlMask, xK_Down), sendMessage $ Swap D) --- %layout -- include 'windowNavigation' in defaultLayout definition above. +-- %layout -- include 'windowNavigation' in layoutHook definition above. -- %layout -- just before the list, like the following (don't uncomment next line): --- %layout -- defaultLayout = Layout $ windowNavigation defaultWNConfig $ ... +-- %layout -- layoutHook = Layout $ windowNavigation defaultWNConfig $ ... data Navigate = Go Direction | Swap Direction deriving ( Read, Show, Typeable ) -- cgit v1.2.3