refac(prog/xmonad): change layout

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-12 23:45:21 +03:00
parent 2cb468f9a5
commit 422d7d2d30

View file

@ -188,8 +188,9 @@ myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList
-- which denotes layout choice. -- which denotes layout choice.
-- --
myLayout = avoidStruts myLayout = avoidStruts
$ onWorkspaces ["web", "chat"] (myFull ||| myTall (1/2)) $ onWorkspace "web" (myFull ||| Mirror (myTall (2/3)))
$ makeDefaultLayout (1/1.5) $ onWorkspace "chat" (myTall (1/2))
$ makeDefaultLayout (2/3)
where where
makeDefaultLayout ratio = myTall ratio makeDefaultLayout ratio = myTall ratio
||| Mirror (myTall ratio) ||| Mirror (myTall ratio)