warn about using avoidStruts with gap modifiers

This commit is contained in:
brandon s allbery kf8nh 2021-12-22 16:41:30 -05:00
parent 2cf0a10f5b
commit d65cf05369

View File

@ -91,6 +91,10 @@ import XMonad.Util.Types (Direction2D(..))
-- --
-- To configure gaps differently per-screen, use -- To configure gaps differently per-screen, use
-- "XMonad.Layout.PerScreen" (coming soon). -- "XMonad.Layout.PerScreen" (coming soon).
--
-- __Warning__: If you also use the 'avoidStruts' layout modifier, it
-- must come /before/ any of these modifiers. See the documentation of
-- 'avoidStruts' for details.
-- | A manual gap configuration. Each side of the screen on which a -- | A manual gap configuration. Each side of the screen on which a
-- gap is enabled is paired with a size in pixels. -- gap is enabled is paired with a size in pixels.