To use this module, add the following import to ~/.xmonad/xmonad.hs:
import XMonad.Hooks.ManageDocks
The first component is a ManageHook which recognizes these windows. To
enable it:
manageHook = ... <+> manageDocks
The second component is a layout modifier that prevents windows from
overlapping these dock windows. It is intended to replace xmonad's
so-called gap support. First, you must add it to your list of layouts:
layoutHook = avoidStruts (tall ||| mirror tall ||| ...)
AvoidStruts also supports toggling the dock gap, add a keybinding similar
to:
,((modMask, xK_b ), sendMessage ToggleStruts)
|