diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-10-15 22:59:01 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-10-15 22:59:01 +0200 |
commit | 2527d001e977e346b8c70bbb61c3a828b8b82eec (patch) | |
tree | b884cb20fcd032bf808bd71e031f5a3dd26db277 | |
parent | 54c5c50774f7c598808e3ff844a86ec009e5c5cc (diff) | |
download | XMonadContrib-2527d001e977e346b8c70bbb61c3a828b8b82eec.tar.gz XMonadContrib-2527d001e977e346b8c70bbb61c3a828b8b82eec.tar.xz XMonadContrib-2527d001e977e346b8c70bbb61c3a828b8b82eec.zip |
defaultLayout -> layoutHook
darcs-hash:20071015205901-a5988-b70eee6f46dac1c5cc4c73f64fa03c2a673c0993.gz
-rw-r--r-- | WindowNavigation.hs | 6 |
1 files changed, 3 insertions, 3 deletions
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 ) |