mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Remove all remaining occurences of defaultTConf
Data.Default deprecations were removed in 5140f5b5d06790e055eb7fb0cf3eccc4997aa736, yet some comments still refer to defaultTConf—fix that. Related: 6b4675e3fa85f95f808a95f8cad790e798cf6ad5
This commit is contained in:
parent
6b4675e3fa
commit
ee97eec17d
@ -39,7 +39,7 @@ import qualified XMonad.StackSet as W
|
|||||||
--
|
--
|
||||||
-- and add something like
|
-- and add something like
|
||||||
--
|
--
|
||||||
-- > combineTwoP (TwoPane 0.03 0.5) (tabbed shrinkText defaultTConf) (tabbed shrinkText defaultTConf) (ClassName "Firefox")
|
-- > combineTwoP (TwoPane 0.03 0.5) (tabbed shrinkText def) (tabbed shrinkText def) (ClassName "Firefox")
|
||||||
--
|
--
|
||||||
-- to your layouts. This way all windows with class = \"Firefox\" will always go
|
-- to your layouts. This way all windows with class = \"Firefox\" will always go
|
||||||
-- to the left pane, all others - to the right.
|
-- to the left pane, all others - to the right.
|
||||||
|
@ -47,7 +47,7 @@ import System.Posix.Env (getEnv)
|
|||||||
--
|
--
|
||||||
-- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated
|
-- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated
|
||||||
-- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText
|
-- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText
|
||||||
-- defaultTConf ||| ...)@, and @m1@ can be any layout modifier, i.e. a
|
-- def ||| ...)@, and @m1@ can be any layout modifier, i.e. a
|
||||||
-- function of type @(l a -> ModifiedLayout lm l a)@.
|
-- function of type @(l a -> ModifiedLayout lm l a)@.
|
||||||
--
|
--
|
||||||
-- In another scenario, suppose you wanted to have layouts A, B, and C
|
-- In another scenario, suppose you wanted to have layouts A, B, and C
|
||||||
|
@ -42,7 +42,7 @@ import XMonad.Prelude (fromMaybe)
|
|||||||
--
|
--
|
||||||
-- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated
|
-- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated
|
||||||
-- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText
|
-- layouts, e.g. @(Full ||| smartBorders $ tabbed shrinkText
|
||||||
-- defaultTConf ||| ...)@, and @m1@ can be any layout modifier, i.e. a
|
-- def ||| ...)@, and @m1@ can be any layout modifier, i.e. a
|
||||||
-- function of type @(l a -> ModifiedLayout lm l a)@. (In fact, @m1@ can be any
|
-- function of type @(l a -> ModifiedLayout lm l a)@. (In fact, @m1@ can be any
|
||||||
-- function @(LayoutClass l a, LayoutClass l' a) => l a -> l' a@.)
|
-- function @(LayoutClass l a, LayoutClass l' a) => l a -> l' a@.)
|
||||||
--
|
--
|
||||||
|
Loading…
x
Reference in New Issue
Block a user