From ee97eec17d7ce55f85003a46d34f25c9d2a1e93f Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Wed, 3 Aug 2022 10:01:17 +0200 Subject: [PATCH] Remove all remaining occurences of defaultTConf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Data.Default deprecations were removed in 5140f5b5d06790e055eb7fb0cf3eccc4997aa736, yet some comments still refer to defaultTConf—fix that. Related: 6b4675e3fa85f95f808a95f8cad790e798cf6ad5 --- XMonad/Layout/ComboP.hs | 2 +- XMonad/Layout/OnHost.hs | 2 +- XMonad/Layout/PerWorkspace.hs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/XMonad/Layout/ComboP.hs b/XMonad/Layout/ComboP.hs index f0482a39..73bd0199 100644 --- a/XMonad/Layout/ComboP.hs +++ b/XMonad/Layout/ComboP.hs @@ -39,7 +39,7 @@ import qualified XMonad.StackSet as W -- -- 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 the left pane, all others - to the right. diff --git a/XMonad/Layout/OnHost.hs b/XMonad/Layout/OnHost.hs index 0fd9c791..e9456a54 100644 --- a/XMonad/Layout/OnHost.hs +++ b/XMonad/Layout/OnHost.hs @@ -47,7 +47,7 @@ import System.Posix.Env (getEnv) -- -- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated -- 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 another scenario, suppose you wanted to have layouts A, B, and C diff --git a/XMonad/Layout/PerWorkspace.hs b/XMonad/Layout/PerWorkspace.hs index b94e2aaf..536a6762 100644 --- a/XMonad/Layout/PerWorkspace.hs +++ b/XMonad/Layout/PerWorkspace.hs @@ -42,7 +42,7 @@ import XMonad.Prelude (fromMaybe) -- -- Note that @l1@, @l2@, and @l3@ can be arbitrarily complicated -- 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 @(LayoutClass l a, LayoutClass l' a) => l a -> l' a@.) --