mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-11 02:02:11 -07:00
Merge pull request #674 from TheMC47/minimize-haddock-formatting
X.A.Minimize: fix formatting
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user