Merge pull request #679 from slotThe/deprecate-modules

Deprecate user and abandoned modules
This commit is contained in:
Tony Zorman 2022-01-14 07:55:52 +01:00 committed by GitHub
commit f90e76248f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 17 additions and 7 deletions

View File

@ -10,6 +10,13 @@
now return a `Parser` (from `XMonad.Util.Parser`) instead of a now return a `Parser` (from `XMonad.Util.Parser`) instead of a
`ReadP`. `ReadP`.
* `XMonad.Config.{Arossato,Bluetile,Dmwit,Droundy,Monad,Prime,Saegesser,Sjanssen}`
- Deprecated all of these modules. The user-specific configuration
modules may still be found [on the website].
[on the website]: https://xmonad.org/configurations.html
### New Modules ### New Modules
* `XMonad.Layout.CenteredIfSingle` * `XMonad.Layout.CenteredIfSingle`

View File

@ -16,6 +16,7 @@
------------------------------------------------------------------------ ------------------------------------------------------------------------
module XMonad.Config.Arossato module XMonad.Config.Arossato
{-# DEPRECATED "This module contains a personal configuration, to be removed from xmonad-contrib. If you use this module, please copy the relevant parts to your configuration or obtain a copy of it on https://xmonad.org/configurations.html and include it as a local module." #-}
( -- * Usage ( -- * Usage
-- $usage -- $usage
arossatoConfig arossatoConfig

View File

@ -20,7 +20,7 @@
-- --
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module XMonad.Config.Bluetile ( module XMonad.Config.Bluetile {-# DEPRECATED "This module contains a personal configuration, to be removed from xmonad-contrib. If you use this module, please copy the relevant parts to your configuration or obtain a copy of it on https://xmonad.org/configurations.html and include it as a local module." #-} (
-- * Usage -- * Usage
-- $usage -- $usage
bluetileConfig bluetileConfig

View File

@ -7,7 +7,7 @@
-- Description : Daniel Wagner's xmonad configuration. -- Description : Daniel Wagner's xmonad configuration.
-- --
------------------------------------------------------------------------ ------------------------------------------------------------------------
module XMonad.Config.Dmwit where module XMonad.Config.Dmwit {-# DEPRECATED "This module contains a personal configuration, to be removed from xmonad-contrib. If you use this module, please copy the relevant parts to your configuration or obtain a copy of it on https://xmonad.org/configurations.html and include it as a local module." #-} where
-- system imports -- system imports
import Control.Monad.Trans import Control.Monad.Trans

View File

@ -8,7 +8,7 @@
-- License : BSD3-style (see LICENSE) -- License : BSD3-style (see LICENSE)
-- --
------------------------------------------------------------------------ ------------------------------------------------------------------------
module XMonad.Config.Droundy ( config, mytab ) where module XMonad.Config.Droundy {-# DEPRECATED "This module contains a personal configuration, to be removed from xmonad-contrib. If you use this module, please copy the relevant parts to your configuration or obtain a copy of it on https://xmonad.org/configurations.html and include it as a local module." #-} ( config, mytab ) where
import XMonad hiding (keys, config) import XMonad hiding (keys, config)
import qualified XMonad (keys) import qualified XMonad (keys)

View File

@ -15,7 +15,7 @@ ideas:
"only once" features like avoidStruts, ewmhDesktops "only once" features like avoidStruts, ewmhDesktops
-} -}
module XMonad.Config.Monad where module XMonad.Config.Monad {-# DEPRECATED "This module does not work." #-} where
import XMonad hiding (terminal, keys) import XMonad hiding (terminal, keys)
import qualified XMonad as X import qualified XMonad as X

View File

@ -23,7 +23,7 @@
-- --
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module XMonad.Config.Prime ( module XMonad.Config.Prime {-# DEPRECATED "This module is a perpetual draft and will therefore be removed from xmonad-contrib in the near future." #-} (
-- Note: The identifiers here are listed in the order that makes the most sense -- Note: The identifiers here are listed in the order that makes the most sense
-- for a user, while the definitions below are listed in the order that makes -- for a user, while the definitions below are listed in the order that makes
-- the most sense for a developer. -- the most sense for a developer.

View File

@ -6,6 +6,8 @@
-- A mostly striped down configuration that demonstrates spawnOnOnce -- A mostly striped down configuration that demonstrates spawnOnOnce
-- --
--------------------------------------------------------------------- ---------------------------------------------------------------------
module XMonad.Config.Saegesser {-# DEPRECATED "This module contains a personal configuration, to be removed from xmonad-contrib. If you use this module, please copy the relevant parts to your configuration or obtain a copy of it on https://xmonad.org/configurations.html and include it as a local module." #-} where
import System.IO import System.IO
import XMonad import XMonad

View File

@ -5,7 +5,7 @@
-- Description : Spencer Janssen's xmonad config. -- Description : Spencer Janssen's xmonad config.
-- --
------------------------------------------------------------------------ ------------------------------------------------------------------------
module XMonad.Config.Sjanssen (sjanssenConfig) where module XMonad.Config.Sjanssen {-# DEPRECATED "This module contains a personal configuration, to be removed from xmonad-contrib. If you use this module, please copy the relevant parts to your configuration or obtain a copy of it on https://xmonad.org/configurations.html and include it as a local module." #-} (sjanssenConfig) where
import XMonad hiding (Tall(..)) import XMonad hiding (Tall(..))
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W

View File

@ -78,7 +78,7 @@ import qualified XMonad.StackSet as W
-- screen into a physical workspace name. -- screen into a physical workspace name.
-- --
-- A complete example abusing many of the functions below is available in the -- A complete example abusing many of the functions below is available in the
-- "XMonad.Config.Dmwit" module. -- <https://xmonad.org/configurations.html XMonad.Config.Dmwit> configuration.
type VirtualWorkspace = WorkspaceId type VirtualWorkspace = WorkspaceId
type PhysicalWorkspace = WorkspaceId type PhysicalWorkspace = WorkspaceId