about summary refs log tree commit diff
path: root/src/lib/XMonad/Custom/Workspaces.hs
blob: 995fb9fb9bf06f240b11089ffbd8f4b9b92fe449 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- |
-- 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]

Consider giving Nix/NixOS a try! <3