From 77a9fd5c110e3671d2ecd4c332fcb5188ff60238 Mon Sep 17 00:00:00 2001 From: "EEva (JPotier)" Date: Tue, 10 Mar 2020 15:51:05 +0200 Subject: [PATCH] Update smartspacing --- xmonad.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmonad.hs b/xmonad.hs index 79b5d4c..603900f 100755 --- a/xmonad.hs +++ b/xmonad.hs @@ -15,6 +15,7 @@ import XMonad.Layout.Spacing import XMonad.Layout.ToggleLayouts (toggleLayouts) import XMonad.Util.EZConfig import qualified Nord as N +import qualified XMonad.Layout.Spacing as SS (Border(..)) -- Tidy modules import KeyBindings as Keys (modify) @@ -25,9 +26,10 @@ import Scratchpad (modify) --------- toggle btw vvvvvvvvvv or vvvvv layouts = toggleLayouts fullscreen tiled where + smallBorder = SS.Border 5 5 5 5 fullscreen = (noBorders Full) tiled = smarts $ resizableTall ||| (Mirror resizableTall) - smarts = (smartSpacingWithEdge 5) . smartBorders + smarts = (spacingRaw True smallBorder True smallBorder True) . smartBorders resizableTall = ResizableTall 1 (5/100) (1/2) [] -- Use the `xprop' tool to get the info you need for these matches.