From a84cec9b2dcc895c7f240f6805552e5f55952d63 Mon Sep 17 00:00:00 2001 From: Daniel Cousens <413395+dcousens@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:55:20 +1100 Subject: [PATCH] X.*: Fix typos (#871) * X.*: fix typos * X.*: fix typos * X.*: fix typos * X.Util: fix typo --------- Co-authored-by: Daniel Cousens --- XMonad/Layout/AutoMaster.hs | 2 +- XMonad/Layout/CenteredMaster.hs | 2 +- XMonad/Layout/Column.hs | 8 ++++---- XMonad/Layout/IfMax.hs | 2 +- XMonad/Layout/TabBarDecoration.hs | 4 ++-- XMonad/Util/Rectangle.hs | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/XMonad/Layout/AutoMaster.hs b/XMonad/Layout/AutoMaster.hs index 24d2998a..b42fa698 100644 --- a/XMonad/Layout/AutoMaster.hs +++ b/XMonad/Layout/AutoMaster.hs @@ -35,7 +35,7 @@ import Control.Arrow (first) -- in one row, in slave area underlying layout is run. Size of slave area -- automatically increases when number of slave windows is increasing. -- --- You can use this module by adding folowing in your @xmonad.hs@: +-- You can use this module by adding following in your @xmonad.hs@: -- -- > import XMonad.Layout.AutoMaster -- diff --git a/XMonad/Layout/CenteredMaster.hs b/XMonad/Layout/CenteredMaster.hs index 103e86ad..b71a0e48 100644 --- a/XMonad/Layout/CenteredMaster.hs +++ b/XMonad/Layout/CenteredMaster.hs @@ -38,7 +38,7 @@ import Control.Arrow (first) -- All other windows in background are managed by base layout. -- topRightMaster is like centerMaster, but places master window in top right corner instead of center. -- --- Yo can use this module by adding folowing in your @xmonad.hs@: +-- You can use this module by adding following in your @xmonad.hs@: -- -- > import XMonad.Layout.CenteredMaster -- diff --git a/XMonad/Layout/Column.hs b/XMonad/Layout/Column.hs index 11efd300..5de2054d 100644 --- a/XMonad/Layout/Column.hs +++ b/XMonad/Layout/Column.hs @@ -11,7 +11,7 @@ -- Portability : unportable -- -- Provides Column layout that places all windows in one column. Windows --- heights are calculated from equation: H1/H2 = H2/H3 = ... = q, where q is +-- heights are calculated from the equation: H1/H2 = H2/H3 = ... = q, where q is -- given. With Shrink/Expand messages you can change the q value. -- ----------------------------------------------------------------------------- @@ -25,12 +25,12 @@ import XMonad import qualified XMonad.StackSet as W -- $usage --- This module defines layot named Column. It places all windows in one --- column. Windows heights are calculated from equation: H1/H2 = H2/H3 = ... = +-- This module defines layout named Column. It places all windows in one +-- column. Windows heights are calculated from the equation: H1/H2 = H2/H3 = ... = -- q, where `q' is given (thus, windows heights are members of geometric -- progression). With Shrink/Expand messages one can change the `q' value. -- --- You can use this module by adding folowing in your @xmonad.hs@: +-- You can use this module by adding following in your @xmonad.hs@: -- -- > import XMonad.Layout.Column -- diff --git a/XMonad/Layout/IfMax.hs b/XMonad/Layout/IfMax.hs index 889efddf..e27e804d 100644 --- a/XMonad/Layout/IfMax.hs +++ b/XMonad/Layout/IfMax.hs @@ -36,7 +36,7 @@ import qualified XMonad.StackSet as W -- IfMax layout will run one layout if number of windows on workspace is as -- maximum N, and else will run another layout. -- --- You can use this module by adding folowing in your @xmonad.hs@: +-- You can use this module by adding following in your @xmonad.hs@: -- -- > import XMonad.Layout.IfMax -- diff --git a/XMonad/Layout/TabBarDecoration.hs b/XMonad/Layout/TabBarDecoration.hs index 593162e4..2a2ff6df 100644 --- a/XMonad/Layout/TabBarDecoration.hs +++ b/XMonad/Layout/TabBarDecoration.hs @@ -46,8 +46,8 @@ import XMonad.Prompt ( XPPosition (..) ) -- 'tabBar' will give you the possibility of setting a custom shrinker -- and a custom theme. -- --- The deafult theme can be dynamically change with the xmonad theme --- selector. See "XMonad.Prompt.Theme". For more themse, look at +-- The default theme can be dynamically changed with the xmonad theme +-- selector. See "XMonad.Prompt.Theme". For more themes, look at -- "XMonad.Util.Themes" -- | Add, on the top of the screen, a simple bar of tabs to a given diff --git a/XMonad/Util/Rectangle.hs b/XMonad/Util/Rectangle.hs index 6f20cc54..5b8cf22e 100644 --- a/XMonad/Util/Rectangle.hs +++ b/XMonad/Util/Rectangle.hs @@ -67,7 +67,7 @@ data PointRectangle a = PointRectangle -- @[N,N+1]@, as though each real-valued coordinate had been rounded (either -- down or up) to the nearest integers. So each pixel, from zero, is listed as: -- @[0,0]@, @[1,1]@, @[2,2]@, and so on. Rather than a coordinate system, this --- considers pixels as row/colum indices. While easiest to reason with, +-- considers pixels as row/column indices. While easiest to reason with, -- indices are unable to represent zero-dimension rectangles. -- -- Consider pixels as indices. Do not use this on empty rectangles.