Merge pull request #674 from TheMC47/minimize-haddock-formatting

X.A.Minimize: fix formatting
This commit is contained in:
Yecine Megdiche
2022-01-01 23:12:16 +01:00
committed by GitHub

View File

@@ -50,14 +50,18 @@ import qualified Data.Map as M
-- $usage -- $usage
-- Import this module with "XMonad.Layout.Minimize" and "XMonad.Layout.BoringWindows": -- Import this module with "XMonad.Layout.Minimize" and "XMonad.Layout.BoringWindows":
--
-- > import XMonad.Actions.Minimize -- > import XMonad.Actions.Minimize
-- > import XMonad.Layout.Minimize -- > import XMonad.Layout.Minimize
-- > import qualified XMonad.Layout.BoringWindows as BW -- > import qualified XMonad.Layout.BoringWindows as BW
-- --
-- Then apply 'minimize' and 'boringWindows' to your layout hook and use some -- Then apply 'minimize' and 'boringWindows' to your layout hook and use some
-- actions from this module: -- actions from this module:
--
-- > main = xmonad def { layoutHook = minimize . BW.boringWindows $ whatever } -- > main = xmonad def { layoutHook = minimize . BW.boringWindows $ whatever }
--
-- Example keybindings: -- Example keybindings:
--
-- > , ((modm, xK_m ), withFocused minimizeWindow ) -- > , ((modm, xK_m ), withFocused minimizeWindow )
-- > , ((modm .|. shiftMask, xK_m ), withLastMinimized maximizeWindow) -- > , ((modm .|. shiftMask, xK_m ), withLastMinimized maximizeWindow)