users/xmonad: remove three col layout
This commit is contained in:
parent
0d72316924
commit
5a589f11d7
1 changed files with 2 additions and 4 deletions
|
@ -40,7 +40,6 @@ import XMonad.Layout.Grid
|
||||||
import XMonad.Layout.LimitWindows (limitWindows)
|
import XMonad.Layout.LimitWindows (limitWindows)
|
||||||
import XMonad.Layout.NoBorders (smartBorders)
|
import XMonad.Layout.NoBorders (smartBorders)
|
||||||
import XMonad.Layout.Spacing (spacing)
|
import XMonad.Layout.Spacing (spacing)
|
||||||
import XMonad.Layout.ThreeColumns (ThreeCol (..))
|
|
||||||
import XMonad.Prompt (XPConfig (..), XPPosition (Top), XPType (..), XPrompt (..), mkComplFunFromList', mkXPromptWithModes)
|
import XMonad.Prompt (XPConfig (..), XPPosition (Top), XPType (..), XPrompt (..), mkComplFunFromList', mkXPromptWithModes)
|
||||||
import qualified XMonad.StackSet as W
|
import qualified XMonad.StackSet as W
|
||||||
import XMonad.Util.EZConfig
|
import XMonad.Util.EZConfig
|
||||||
|
@ -159,11 +158,10 @@ myPolybarLogHook dbus = myLogHook <+> dynamicLogWithPP (polybarHook dbus)
|
||||||
-- The available layouts. Note that each layout is separated by |||,
|
-- The available layouts. Note that each layout is separated by |||,
|
||||||
-- which denotes layout choice.
|
-- which denotes layout choice.
|
||||||
--
|
--
|
||||||
myLayout = avoidStruts . smartBorders $ (Mirror tiled ||| tiled ||| column3 ||| full)
|
myLayout = avoidStruts . smartBorders $ (Mirror tiled ||| tiled ||| full)
|
||||||
where
|
where
|
||||||
full = Full
|
full = Full
|
||||||
tiled = gapSpaced 5 $ Tall nmaster incRatio ratio
|
tiled = gapSpaced 5 $ Tall nmaster incRatio ratio
|
||||||
column3 = gapSpaced 5 $ ThreeColMid nmaster incRatio ratio
|
|
||||||
|
|
||||||
nmaster = 1
|
nmaster = 1
|
||||||
incRatio = (3 / 100)
|
incRatio = (3 / 100)
|
||||||
|
@ -308,7 +306,7 @@ myKeys conf =
|
||||||
layout_kb =
|
layout_kb =
|
||||||
[ -- Rotate through the available layout algorithms
|
[ -- Rotate through the available layout algorithms
|
||||||
("M-<Space>", cycleThroughLayouts ["Full", "Mirror Spacing Tall"]),
|
("M-<Space>", cycleThroughLayouts ["Full", "Mirror Spacing Tall"]),
|
||||||
("M-<Tab>", cycleThroughLayouts ["Spacing ThreeCol", "Spacing Tall", "Mirror Spacing Tall"]),
|
("M-<Tab>", cycleThroughLayouts ["Spacing Tall", "Mirror Spacing Tall"]),
|
||||||
-- Reset the layouts on the current workspace to default
|
-- Reset the layouts on the current workspace to default
|
||||||
("M-S-<Space>", setLayout $ XMonad.layoutHook conf),
|
("M-S-<Space>", setLayout $ XMonad.layoutHook conf),
|
||||||
-- Shrink the master area
|
-- Shrink the master area
|
||||||
|
|
Loading…
Reference in a new issue