mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
asdf
This commit is contained in:
parent
98b9b205e3
commit
381c545298
1 changed files with 6 additions and 10 deletions
|
@ -176,23 +176,19 @@ myLayout = avoidStruts
|
||||||
layouts = PerScreen.ifWider 1900 horizScreenLayouts vertScreenLayouts
|
layouts = PerScreen.ifWider 1900 horizScreenLayouts vertScreenLayouts
|
||||||
|
|
||||||
horizScreenLayouts =
|
horizScreenLayouts =
|
||||||
((rename "Tall" $ onlySpacing $ mouseResizableTile {draggerType = dragger})
|
((rename "Tall" $ spacingAndGaps $ mouseResizableTile {draggerType = BordersDragger})
|
||||||
||| (rename "Horizon" $ onlySpacing $ mouseResizableTileMirrored {draggerType = dragger})
|
||| (rename "Horizon" $ spacingAndGaps $ mouseResizableTileMirrored {draggerType = BordersDragger})
|
||||||
||| (rename "BSP" $ spacingAndGaps $ borderResize $ emptyBSP)
|
||| (rename "BSP" $ spacingAndGaps $ borderResize $ emptyBSP)
|
||||||
||| (rename "ThreeCol" $ makeTabbed $ spacingAndGaps $ reflectHoriz $ ResizableThreeColMid 1 (3/100) (1/2) [])
|
||| (rename "ThreeCol" $ makeTabbed $ spacingAndGaps $ reflectHoriz $ ResizableThreeColMid 1 (3/100) (1/2) [])
|
||||||
||| (rename "TabbedRow" $ makeTabbed $ spacingAndGaps $ zoomRow))
|
||| (rename "TabbedRow" $ makeTabbed $ spacingAndGaps $ zoomRow))
|
||||||
|
|
||||||
vertScreenLayouts =
|
vertScreenLayouts =
|
||||||
((rename "ThreeCol" $ makeTabbed $ spacingAndGaps $ Mirror $ reflectHoriz $ ThreeColMid 1 (3/100) (1/2))
|
((rename "ThreeCol" $ makeTabbed $ spacingAndGaps $ Mirror $ reflectHoriz $ ThreeColMid 1 (3/100) (1/2))
|
||||||
||| (rename "Horizon" $ onlySpacing $ mouseResizableTileMirrored {draggerType = dragger}))
|
||| (rename "Horizon" $ spacingAndGaps $ mouseResizableTileMirrored {draggerType = BordersDragger}))
|
||||||
|
|
||||||
rename n = renamed [Replace n]
|
rename n = renamed [Replace n]
|
||||||
gap = 10
|
spacingAndGaps = let intGap = 10 :: Integer
|
||||||
onlySpacing = gaps [ (dir, (gap*2)) | dir <- [L, R, D, U] ]
|
border = Border intGap intGap intGap intGap
|
||||||
dragger = let x = fromIntegral gap * 2
|
|
||||||
in FixedDragger x x
|
|
||||||
spacingAndGaps = let intGap = fromIntegral gap
|
|
||||||
border = Border (intGap) (intGap) (intGap) (intGap)
|
|
||||||
in spacingRaw False border True border True
|
in spacingRaw False border True border True
|
||||||
|
|
||||||
-- | transform a layout into supporting tabs
|
-- | transform a layout into supporting tabs
|
||||||
|
|
Loading…
Reference in a new issue