aboutsummaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Config.hs16
-rw-r--r--Config.hs-boot2
2 files changed, 9 insertions, 9 deletions
diff --git a/Config.hs b/Config.hs
index 59d22f6..9fe7e94 100644
--- a/Config.hs
+++ b/Config.hs
@@ -107,7 +107,7 @@ borderWidth = 1
-- |
-- A list of layouts which, in addition to the defaultLayouts, xmonad can
-- deserialize.
-possibleLayouts :: [SomeLayout Window]
+possibleLayouts :: [Layout Window]
possibleLayouts = [defaultLayout
-- Extension-provided layouts
] ++ defaultLayouts
@@ -115,13 +115,13 @@ possibleLayouts = [defaultLayout
-- |
-- The default tiling algorithm
--
-defaultLayout :: SomeLayout Window
-defaultLayout = SomeLayout $ LayoutSelection defaultLayouts
+defaultLayout :: Layout Window
+defaultLayout = Layout $ LayoutSelection defaultLayouts
-defaultLayouts :: [SomeLayout Window]
-defaultLayouts = [ SomeLayout tiled
- , SomeLayout $ Mirror tiled
- , SomeLayout Full
+defaultLayouts :: [Layout Window]
+defaultLayouts = [ Layout tiled
+ , Layout $ Mirror tiled
+ , Layout Full
-- Extension-provided layouts
]
@@ -141,7 +141,7 @@ defaultLayouts = [ SomeLayout tiled
-- |
-- A list of layouts which, in addition to the defaultLayouts, xmonad can
-- deserialize.
-otherPossibleLayouts :: [SomeLayout Window]
+otherPossibleLayouts :: [Layout Window]
otherPossibleLayouts = []
-- |
diff --git a/Config.hs-boot b/Config.hs-boot
index f9d8ecd..d216fbc 100644
--- a/Config.hs-boot
+++ b/Config.hs-boot
@@ -7,5 +7,5 @@ borderWidth :: Dimension
logHook :: X ()
numlockMask :: KeyMask
workspaces :: [WorkspaceId]
-possibleLayouts :: [SomeLayout Window]
+possibleLayouts :: [Layout Window]
manageHook :: Window -> (String, String, String) -> X (WindowSet -> WindowSet)