mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
XMonad.Layout.Named: Deprecate
This commit is contained in:
@@ -59,7 +59,6 @@ import XMonad.Layout.Groups.Helpers
|
||||
|
||||
import XMonad.Layout.ZoomRow
|
||||
import XMonad.Layout.Tabbed
|
||||
import XMonad.Layout.Named
|
||||
import XMonad.Layout.Renamed
|
||||
import XMonad.Layout.Decoration
|
||||
import XMonad.Layout.Simplest
|
||||
@@ -209,13 +208,13 @@ tallTabs c = _tab c $ G.group _tabs $ _vert c ||| _horiz c ||| Full
|
||||
|
||||
mirrorTallTabs c = _tab c $ G.group _tabs $ _horiz c ||| Full ||| _vert c
|
||||
|
||||
_tabs = named "Tabs" Simplest
|
||||
_tabs = renamed [Replace "Tabs"] Simplest
|
||||
|
||||
_tab c l = renamed [CutWordsLeft 1] $ addTabs (tabsShrinker c) (tabsTheme c) l
|
||||
|
||||
_vert c = named "Vertical" $ Tall (vNMaster c) (vIncrement c) (vRatio c)
|
||||
_vert c = renamed [Replace "Vertical"] $ Tall (vNMaster c) (vIncrement c) (vRatio c)
|
||||
|
||||
_horiz c = named "Horizontal" $ Mirror $ Tall (hNMaster c) (hIncrement c) (hRatio c)
|
||||
_horiz c = renamed [Replace "Horizontal"] $ Mirror $ Tall (hNMaster c) (hIncrement c) (hRatio c)
|
||||
|
||||
-- | Increase the number of master groups by one
|
||||
increaseNMasterGroups :: X ()
|
||||
|
@@ -41,7 +41,6 @@ import XMonad.Layout.Groups.Examples
|
||||
import XMonad.Layout.Groups.Helpers
|
||||
|
||||
import XMonad.Layout.Tabbed
|
||||
import XMonad.Layout.Named
|
||||
import XMonad.Layout.Renamed
|
||||
import XMonad.Layout.MessageControl
|
||||
import XMonad.Layout.Simplest
|
||||
@@ -90,8 +89,8 @@ import XMonad.Layout.Simplest
|
||||
|
||||
-- | A layout inspired by wmii
|
||||
wmii s t = G.group innerLayout zoomRowG
|
||||
where column = named "Column" $ Tall 0 (3/100) (1/2)
|
||||
tabs = named "Tabs" Simplest
|
||||
where column = renamed [Replace "Column"] $ Tall 0 (3/100) (1/2)
|
||||
tabs = renamed [Replace "Tabs"] Simplest
|
||||
innerLayout = renamed [CutWordsLeft 3]
|
||||
$ addTabs s t
|
||||
$ ignore NextLayout
|
||||
|
@@ -73,7 +73,7 @@ import XMonad.StackSet ( Stack, Workspace (..) )
|
||||
--
|
||||
-- * "XMonad.Layout.Reflect"
|
||||
--
|
||||
-- * "XMonad.Layout.Named"
|
||||
-- * "XMonad.Layout.Renamed"
|
||||
--
|
||||
-- * "XMonad.Layout.WindowNavigation"
|
||||
--
|
||||
|
@@ -16,7 +16,7 @@
|
||||
--
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module XMonad.Layout.Named
|
||||
module XMonad.Layout.Named {-# DEPRECATED "Use XMonad.Layout.Renamed instead" #-}
|
||||
( -- * Usage
|
||||
-- $usage
|
||||
named,
|
||||
|
Reference in New Issue
Block a user