--------------------------------------------------------------------------------
-- Hook Layout
--------------------------------------------------------------------------------
-- * `lay_float`    -> SimplestFloat
-- * `lay_full`     -> Full
-- * `lay_grid`     -> Grid
-- * `lay_min`      -> Minimize
-- * `lay_spiral`   -> Spiral
-- * `lay_tabbed`   -> Tabbed
-- * `lay_threecol` -> Three Columns
-- * `lay_tiled`    -> Tiled
--------------------------------------------------------------------------------
myLayoutHook = smartBorders . avoidStrutsOn [U,D] $ myLayouts
    where
        myLayouts = (lay_tiled    |||
                     lay_grid     ||| 
                     lay_tabbed   ||| 
                     lay_threecol ||| 
                     lay_spiral   ||| 
                     lay_full     ||| 
                     lay_min      ||| 
                     lay_float)
        -- Layouts
        lay_float    = simplestFloat
        lay_full     = Full
        lay_grid     = Grid
        lay_min      = minimize (Tall 1 (3/100) (1/2))
        lay_spiral   = spiral (toRational (2/(1+sqrt(5)::Double)))
        lay_tabbed   = minimize $ tabbed shrinkText myThemeLayoutTabbed
        lay_threecol = ThreeColMid 1 (3/100) (1/2)
        lay_tiled    = ResizableTall 1 (3/100) (1/2) []
myLayoutHook = smartBorders . avoidStrutsOn [U,D] $ myLayouts
    where
        myLayouts = (lay_tiled    |||
                     lay_grid     ||| 
                     lay_tabbed   ||| 
                     lay_threecol ||| 
                     lay_spiral   ||| 
                     lay_full     ||| 
                     lay_min      ||| 
                     lay_float)
        -- Layouts
        lay_float    = simplestFloat
        lay_full     = Full
        lay_grid     = Grid
        lay_min      = minimize (Tall 1 (3/100) (1/2))
        lay_spiral   = spiral (toRational (2/(1+sqrt(5)::Double)))
        lay_tabbed   = minimize $ tabbed shrinkText myThemeLayoutTabbed
        lay_threecol = ThreeColMid 1 (3/100) (1/2)
        lay_tiled    = ResizableTall 1 (3/100) (1/2) []
myLayoutHook = smartBorders . avoidStrutsOn [U,D] $ myLayouts
    where
        myLayouts = (lay_tiled    |||
                     lay_grid     ||| 
                     lay_tabbed   ||| 
                     lay_threecol ||| 
                     lay_spiral   ||| 
                     lay_full     ||| 
                     lay_min      ||| 
                     lay_float)
        -- Layouts
        lay_float    = simplestFloat
        lay_full     = Full
        lay_grid     = Grid
        lay_min      = minimize (Tall 1 (3/100) (1/2))
        lay_spiral   = spiral (toRational (2/(1+sqrt(5)::Double)))
        lay_tabbed   = minimize $ tabbed shrinkText myThemeLayoutTabbed
        lay_threecol = ThreeColMid 1 (3/100) (1/2)
        lay_tiled    = ResizableTall 1 (3/100) (1/2) []