aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-26 20:50:21 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-26 20:50:21 +0530
commitcd5dd1332af9dbabac6446b80c2d3be90214b99c (patch)
tree015a2eadad43e6fca3846db00cb2b9aa8dfa1786 /.config
parentecfe50fd178c712346007f1656fff6bcbf70f38f (diff)
turned on smart borders with borders correctly hidden even with 2 monitors
Diffstat (limited to '.config')
-rw-r--r--.config/XMonad/lib/Defaults.hs4
-rw-r--r--.config/XMonad/lib/Hooks.hs3
2 files changed, 4 insertions, 3 deletions
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