mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-09 16:31:53 -07:00
DragPane: haddock fixes
This commit is contained in:
@@ -41,14 +41,18 @@ import XMonad.Util.Invisible
|
|||||||
import XMonad.Util.XUtils
|
import XMonad.Util.XUtils
|
||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
--
|
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||||
-- You can use this module with the following in your Config.hs file:
|
|
||||||
--
|
--
|
||||||
-- > import XMonad.Layout.DragPane
|
-- > import XMonad.Layout.DragPane
|
||||||
--
|
--
|
||||||
-- and add, to the list of layouts:
|
-- Then edit your @layoutHook@ by adding the DragPane layout:
|
||||||
--
|
--
|
||||||
-- > Layout $ dragPane Horizontal 0.1 0.5
|
-- > myLayouts = dragPane Horizontal 0.1 0.5 ||| Full ||| etc..
|
||||||
|
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
|
||||||
|
--
|
||||||
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
|
--
|
||||||
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
|
|
||||||
halfHandleWidth :: Integral a => a
|
halfHandleWidth :: Integral a => a
|
||||||
halfHandleWidth = 1
|
halfHandleWidth = 1
|
||||||
|
Reference in New Issue
Block a user