Remove things deprecated by Data.Default

This commit is contained in:
slotThe
2020-11-16 10:01:30 +01:00
parent cd1c1d1d69
commit 5140f5b5d0
20 changed files with 18 additions and 68 deletions

View File

@@ -34,7 +34,6 @@ module XMonad.Prompt
, mkXPromptWithModes
, def
, amberXPConfig
, defaultXPConfig
, greenXPConfig
, XPMode
, XPType (..)
@@ -294,7 +293,7 @@ data XPColor =
, border :: String -- ^ Border color
}
amberXPConfig, defaultXPConfig, greenXPConfig :: XPConfig
amberXPConfig, greenXPConfig :: XPConfig
instance Default XPColor where
def =
@@ -331,8 +330,6 @@ instance Default XPConfig where
, defaultPrompter = id
, sorter = const id
}
{-# DEPRECATED defaultXPConfig "Use def (from Data.Default, and re-exported from XMonad.Prompt) instead." #-}
defaultXPConfig = def
greenXPConfig = def { bgColor = "black"
, fgColor = "green"
, promptBorderWidth = 0