about summary refs log tree commit diff
path: root/src/lib/XMonad/Custom/Workspaces.hs
blob: 43d8aa2ce5b40f3f19a7d972b7368b10721154c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- |
-- Module                  : XMonad.Custom.Workspaces
-- Description             : General workspace configuration
-- Copyright               : (c) Azat Bahawi 2018-2021
-- SPDX-License-Identifier : GPL-3.0-or-later
-- Maintainer              : azahi@teknik.io
-- Stability               : experimental
-- Portability             : non-portable
--

module XMonad.Custom.Workspaces
  ( myWorkspaces
  ) where

import           XMonad.Core
import           XMonad.Layout.IndependentScreens

myWorkspaces :: ScreenId -> [PhysicalWorkspace]
myWorkspaces = flip withScreens $ map show [1 .. 9 :: Int]

Consider giving Nix/NixOS a try! <3