From ba751e369f7710e0010e42a407bead47feb6cff5 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 24 Sep 2022 16:17:14 +0200 Subject: [PATCH] Hide borders for single windows --- .xmonad/xmonad.hs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index d6aebc9..92b04f6 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -1,6 +1,7 @@ import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks +import XMonad.Layout.NoBorders (smartBorders) import XMonad.Layout.Magnifier import XMonad.Layout.Spacing @@ -33,10 +34,11 @@ import qualified Data.Map.Strict as M import qualified XMonad.StackSet as W -- Magnifier is off by default (can be controlled using arrow keys) -myLayout = threeColMid ||| - magnifiercz magnificationFactorH tiled ||| - magnifiercz magnificationFactorV (Mirror tiled) ||| - Full +myLayout = smartBorders $ + threeColMid ||| + magnifiercz magnificationFactorH tiled ||| + magnifiercz magnificationFactorV (Mirror tiled) ||| + Full where magnificationFactorV = 1.384 magnificationFactorH = 1.621