From 422d7d2d30b181337c4b2e4da97acfed0c9fb535 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 12 Apr 2022 23:45:21 +0300 Subject: [PATCH] refac(prog/xmonad): change layout --- programs/xmonad/xmonad.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/xmonad/xmonad.hs b/programs/xmonad/xmonad.hs index 12cd8c9..e19f893 100644 --- a/programs/xmonad/xmonad.hs +++ b/programs/xmonad/xmonad.hs @@ -188,8 +188,9 @@ myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList -- which denotes layout choice. -- myLayout = avoidStruts - $ onWorkspaces ["web", "chat"] (myFull ||| myTall (1/2)) - $ makeDefaultLayout (1/1.5) + $ onWorkspace "web" (myFull ||| Mirror (myTall (2/3))) + $ onWorkspace "chat" (myTall (1/2)) + $ makeDefaultLayout (2/3) where makeDefaultLayout ratio = myTall ratio ||| Mirror (myTall ratio)