aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/IndependentScreens.hs
diff options
context:
space:
mode:
authorDaniel Wagner <daniel@wagner-home.com>2013-05-28 02:58:25 +0200
committerDaniel Wagner <daniel@wagner-home.com>2013-05-28 02:58:25 +0200
commitfe066e8e9ca5326dd146630a6d729fae51af12cf (patch)
treec5596ebcdaef64f3421ea5e5b5fb2a9409ba09f6 /XMonad/Layout/IndependentScreens.hs
parentd65d41e4b629413c2d8b9fe3e2b03f5ae46e6cde (diff)
downloadXMonadContrib-fe066e8e9ca5326dd146630a6d729fae51af12cf.tar.gz
XMonadContrib-fe066e8e9ca5326dd146630a6d729fae51af12cf.tar.xz
XMonadContrib-fe066e8e9ca5326dd146630a6d729fae51af12cf.zip
eliminate references to defaultConfig
Ignore-this: 37ae613e4b943e99c5200915b9d95e58 darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
Diffstat (limited to 'XMonad/Layout/IndependentScreens.hs')
-rw-r--r--XMonad/Layout/IndependentScreens.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/XMonad/Layout/IndependentScreens.hs b/XMonad/Layout/IndependentScreens.hs
index b240f29..37be05b 100644
--- a/XMonad/Layout/IndependentScreens.hs
+++ b/XMonad/Layout/IndependentScreens.hs
@@ -45,7 +45,7 @@ import XMonad.Hooks.DynamicLog
--
-- You can define your workspaces by calling @withScreens@:
--
--- > myConfig = defaultConfig { workspaces = withScreens 2 ["web", "email", "irc"] }
+-- > myConfig = def { workspaces = withScreens 2 ["web", "email", "irc"] }
--
-- This will create \"physical\" workspaces with distinct internal names for
-- each (screen, virtual workspace) pair.
@@ -114,9 +114,9 @@ onCurrentScreen f vws = screen . current >>= f . flip marshall vws
--
-- > main = do
-- > nScreens <- countScreens
--- > xmonad $ defaultConfig {
+-- > xmonad $ def {
-- > ...
--- > workspaces = withScreens nScreens (workspaces defaultConfig),
+-- > workspaces = withScreens nScreens (workspaces def),
-- > ...
-- > }
--