[XMonad] Add smartBorders layout modifier

The noBorders hook does not seem to work for floating windows. Smart
borders will at least disable borders when the window is full screened.
This commit is contained in:
2016-10-27 00:18:28 -07:00
parent 7363c1f48a
commit 2813c3351b

View File

@@ -70,9 +70,9 @@ myManageHook = composeAll . concat $
layouts = multiCol [1, 1] 2 0.01 (-0.5) ||| Full ||| Tall 1 (3/100) (1/2) ||| Tall 1 (3/100) (3/4)
myLayoutHook = avoidStruts . smartSpacing 10 . noBorders . minimize .
boringWindows . mkToggle (MIRROR ?? EOT) . workspaceNamesHook
$ layouts
myLayoutHook = avoidStruts . smartSpacing 10 . minimize . boringWindows .
mkToggle (MIRROR ?? EOT) . workspaceNamesHook . smartBorders .
noBorders $ layouts
-- WindowBringer