[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:
Ivan Malison 2016-10-27 00:18:28 -07:00
parent 7363c1f48a
commit 2813c3351b
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

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) 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 . myLayoutHook = avoidStruts . smartSpacing 10 . minimize . boringWindows .
boringWindows . mkToggle (MIRROR ?? EOT) . workspaceNamesHook mkToggle (MIRROR ?? EOT) . workspaceNamesHook . smartBorders .
$ layouts noBorders $ layouts
-- WindowBringer -- WindowBringer