From cd5dd1332af9dbabac6446b80c2d3be90214b99c Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 26 Aug 2022 20:50:21 +0530 Subject: turned on smart borders with borders correctly hidden even with 2 monitors --- .config/XMonad/lib/Defaults.hs | 4 ++-- .config/XMonad/lib/Hooks.hs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to '.config') diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs index 74fa96a..de162d6 100644 --- a/.config/XMonad/lib/Defaults.hs +++ b/.config/XMonad/lib/Defaults.hs @@ -63,8 +63,8 @@ myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", " sGap = 3 wGap = 4 --- myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True -myGap = spacingRaw False (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True +myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True +-- myGap = spacingRaw False (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True myTabTheme = def { fontName = myFont diff --git a/.config/XMonad/lib/Hooks.hs b/.config/XMonad/lib/Hooks.hs index 66540e5..d706278 100644 --- a/.config/XMonad/lib/Hooks.hs +++ b/.config/XMonad/lib/Hooks.hs @@ -28,7 +28,8 @@ myManageHook = namedScratchpadManageHook myScratchpads , isFullscreen --> doFullFloat ] -myLayoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ +--myLayoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ +myLayoutHook = avoidStruts $ maximize $ windowNavigation $ lessBorders Screen $ myGap $ emptyBSP ||| tabbed shrinkText myTabTheme ||| Grid myStartupHook = do -- cgit v1.2.3