diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-26 15:00:12 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-26 15:00:12 +0530 |
commit | 69e6b87329971e905cddfc32cedd7163b503c1f0 (patch) | |
tree | e76a9d2d13334b92f43150d41279a0d0cf4d9815 /.config/XMonad | |
parent | 97e1372543cbb9475686c2ccfee576d9398d0986 (diff) |
Turned on smartBorders in XMonad
Diffstat (limited to '.config/XMonad')
-rw-r--r-- | .config/XMonad/xmonad.hs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index 2272822..f8d0026 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -224,13 +224,6 @@ wGap = 10 -- window gap 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 -myLayoutHook = avoidStruts $ maximize $ windowNavigation $ ( - myGap' emptyBSP - ||| smartBorders (tabbed shrinkText myTabTheme) - ||| smartBorders (myGap emptyBSP) - ||| smartBorders (myGap Grid) - ) - main :: IO () main = do xmonad $ ewmh $ docks $ fullscreenSupport def { @@ -240,7 +233,8 @@ main = do , workspaces = myWorkspaces , normalBorderColor = "#130F23" , focusedBorderColor = "#BF00FF" - , layoutHook = myLayoutHook + , layoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ ( + emptyBSP ||| tabbed shrinkText myTabTheme ||| emptyBSP ||| Grid) , manageHook = namedScratchpadManageHook myScratchpads <+> manageDocks , startupHook = myStartupHook } `additionalMouseBindings` [ |