-- | -- Module : XMonad.Custom.Workspaces -- Description : General workspace configuration -- Copyright : (c) Azat Bahawi 2018-2022 -- SPDX-License-Identifier : GPL-3.0-or-later -- Maintainer : azat@bahawi.net -- Stability : experimental -- Portability : non-portable -- module XMonad.Custom.Workspaces ( ngWorkspaces ) where import XMonad.Core ( ScreenId ) import XMonad.Layout.IndependentScreens ( PhysicalWorkspace , withScreens ) ngWorkspaces :: ScreenId -> [PhysicalWorkspace] ngWorkspaces = flip withScreens $ map show [1 .. 9 :: Int]