mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-16 04:33:57 -07:00
Merge pull request #55 from Delapouite/docs
docs: fix typo Repace → Replace in XMonad.Layout.Renamed
This commit is contained in:
@@ -50,7 +50,7 @@ data Rename a = CutLeft Int -- ^ Remove a number of characters from the left
|
||||
-- if necessary
|
||||
| PrependWords String -- ^ Add a string to the left, appending a space to it if
|
||||
-- necessary
|
||||
| Replace String -- ^ Repace with another wtring
|
||||
| Replace String -- ^ Replace with another string
|
||||
| Chain [Rename a] -- ^ Apply a list of modifications in left-to-right order
|
||||
deriving (Show, Read, Eq)
|
||||
|
||||
@@ -68,4 +68,4 @@ apply (PrependWords s') s = unwords $ s' : words s
|
||||
apply (Chain rs) s = ($s) $ foldr (flip (.)) id $ map apply rs
|
||||
|
||||
instance LayoutModifier Rename a where
|
||||
modifyDescription r l = apply r (description l)
|
||||
modifyDescription r l = apply r (description l)
|
||||
|
Reference in New Issue
Block a user