Skip to content

Commit

Permalink
X.H.{EwmhDesktops,ManageDocks}: Improve the usage doc a bit
Browse files Browse the repository at this point in the history
Don't assume ewmh/docks are the only xmonad config combinator out there.

Related: #396
Related: #399
  • Loading branch information
liskin committed May 16, 2021
1 parent bf5dce5 commit 2c1c96c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions XMonad/Hooks/EwmhDesktops.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ import qualified XMonad.Util.ExtensibleState as XS
-- > import XMonad
-- > import XMonad.Hooks.EwmhDesktops
-- >
-- > main = xmonad $ ewmhFullscreen $ ewmh def
-- > main = xmonad $ … . ewmhFullscreen . ewmh . … $ def{…}
--
-- or, if fullscreen handling is not desired, just
--
-- > main = xmonad $ ewmh def
-- > main = xmonad $ … . ewmh . … $ def{…}
--
-- You may also be interested in 'docks' from "XMonad.Hooks.ManageDocks".
--
Expand Down
2 changes: 1 addition & 1 deletion XMonad/Hooks/ManageDocks.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import qualified Data.Map as M
--
-- Wrap your xmonad config with a call to 'docks', like so:
--
-- > main = xmonad $ docks def
-- > main = xmonad $ … . docks . … $ def{…}
--
-- Then add 'avoidStruts' or 'avoidStrutsOn' layout modifier to your layout
-- to prevent windows from overlapping these windows.
Expand Down

0 comments on commit 2c1c96c

Please sign in to comment.