]> code.delx.au - dotfiles/commitdiff
xmonad: remove unused layout
authorJames Bunton <jamesbunton@delx.net.au>
Tue, 6 Dec 2016 21:49:30 +0000 (08:49 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Tue, 6 Dec 2016 21:51:37 +0000 (08:51 +1100)
.xmonad/xmonad.hs

index c051164c841b2a5e525787ff8e371ea36365b809..d36078b694fd103c1a7bbd9606abd4473cfd9db3 100644 (file)
@@ -19,7 +19,6 @@ import XMonad.Layout.PerWorkspace
 import XMonad.Layout.Renamed
 import XMonad.Layout.Reflect
 import XMonad.Layout.Tabbed
 import XMonad.Layout.Renamed
 import XMonad.Layout.Reflect
 import XMonad.Layout.Tabbed
-import XMonad.Layout.ThreeColumns
 import XMonad.Util.Run(spawnPipe)
 import qualified Data.Map as M
 import qualified XMonad.StackSet as W
 import XMonad.Util.Run(spawnPipe)
 import qualified Data.Map as M
 import qualified XMonad.StackSet as W
@@ -135,15 +134,6 @@ myTabbedLayout = createLayout "Tab" $
     avoidStruts $
     tabbed shrinkText myTitleTheme
 
     avoidStruts $
     tabbed shrinkText myTitleTheme
 
-myThreeColLayout = createLayout "ThreeCol" $
-    avoidStruts $
-    Mag.magnifierOff $
-    ThreeCol numMaster resizeDelta masterRatio
-    where
-        resizeDelta = 3/100
-        masterRatio = 4/10
-        numMaster = 1
-
 myMasterTabbedLayout = createLayout "MTab" $
     avoidStruts $
     Mag.magnifierOff $
 myMasterTabbedLayout = createLayout "MTab" $
     avoidStruts $
     Mag.magnifierOff $
@@ -161,18 +151,6 @@ myGimpLayout = createLayout "Gimp" $
     reflectHoriz $
     tabbed shrinkText myTitleTheme
 
     reflectHoriz $
     tabbed shrinkText myTitleTheme
 
-
--- This was the easiest way I found to avoid a compile error when I have
--- an unused layout
-referenceAllLayoutsToAvoidErrors =
-    myFullLayout |||
-    myTiledLayout |||
-    myTabbedLayout |||
-    myThreeColLayout |||
-    myMasterTabbedLayout |||
-    myGimpLayout
-
-
 myLayout =
     (
         onWorkspace "1" (myTabbedLayout ||| myMasterTabbedLayout) $
 myLayout =
     (
         onWorkspace "1" (myTabbedLayout ||| myMasterTabbedLayout) $