mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 20:51:55 -07:00
Workspace-specific layouts
This commit is contained in:
22
Main.hs
22
Main.hs
@@ -41,17 +41,17 @@ main = do
|
||||
xinesc <- getScreenInfo dpy
|
||||
|
||||
let st = XState
|
||||
{ display = dpy
|
||||
, screen = dflt
|
||||
, xineScreens = xinesc
|
||||
, wsOnScreen = M.fromList $ map (\n -> (n,n)) [0..((length xinesc)-1)]
|
||||
, theRoot = rootw
|
||||
, wmdelete = wmdelt
|
||||
, wmprotocols = wmprot
|
||||
, dimensions = (displayWidth dpy dflt, displayHeight dpy dflt)
|
||||
, workspace = W.empty workspaces
|
||||
, layout = defaultLayout
|
||||
, leftWidth = defaultLeftWidth
|
||||
{ display = dpy
|
||||
, screen = dflt
|
||||
, xineScreens = xinesc
|
||||
, wsOnScreen = M.fromList $ map (\n -> (n,n)) [0..((length xinesc)-1)]
|
||||
, theRoot = rootw
|
||||
, wmdelete = wmdelt
|
||||
, wmprotocols = wmprot
|
||||
, dimensions = (displayWidth dpy dflt, displayHeight dpy dflt)
|
||||
, workspace = W.empty workspaces
|
||||
, defaultLayoutDesc = startingLayoutDesc
|
||||
, layoutDescs = M.empty
|
||||
}
|
||||
|
||||
xSetErrorHandler -- in C, I'm too lazy to write the binding
|
||||
|
Reference in New Issue
Block a user