about summary refs log tree commit diff
path: root/src/XMonad/Custom/Workspaces.hs
blob: 5832c6eb22552168bbf2bf7a9a18d3165ab3dd8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
-----------------------------------------------------------------------------
-- |
-- Module      :  XMonad.Custom.Workspaces
-- Copyright   :  (c) 2018-2019 Azat Bahawi <azahi@teknik.io>
-- License     :  BSD3-style (see LICENSE)
--
-- Maintainer  :  Azat Bahawi <azahi@teknik.io>
-- Stability   :  unstable
-- Portability :  unportable
--
-----------------------------------------------------------------------------

module XMonad.Custom.Workspaces
    ( workspaces
    ) where

import           XMonad.Actions.DynamicProjects
import           XMonad.Core                    hiding (workspaces)

workspaces :: [WorkspaceId]
workspaces = map show [1..9 :: Int]

projects :: [Project]
projects =
    [ Project { projectName      = "scratch"
              , projectDirectory = "~/"
              , projectStartHook = Nothing
              }

    , Project { projectName      = "www"
              , projectDirectory = "~/"
              , projectStartHook = Nothing
              }

    , Project { projectName      = "mail"
              , projectDirectory = "~/"
              , projectStartHook = Nothing
              }
    ]

Consider giving Nix/NixOS a try! <3