34 lines
1.1 KiB
Haskell
34 lines
1.1 KiB
Haskell
module Projects (
|
|
Projects.modify
|
|
) where
|
|
|
|
import XMonad
|
|
import XMonad.Actions.DynamicProjects
|
|
|
|
projects :: [Project]
|
|
projects = [ Project { projectName = "admin"
|
|
, projectDirectory = "~/admin"
|
|
, projectStartHook = Nothing
|
|
}
|
|
, Project { projectName = "tootgun"
|
|
, projectDirectory = "~/candy/tootgun"
|
|
, projectStartHook = Nothing
|
|
}
|
|
, Project { projectName = "steam"
|
|
, projectDirectory = "~/"
|
|
, projectStartHook = Just $ do spawn "steam"
|
|
}
|
|
, Project { projectName = "web"
|
|
, projectDirectory = "/tmp"
|
|
, projectStartHook = Just $ do spawn "firefox"
|
|
}
|
|
, Project { projectName = "yt"
|
|
, projectDirectory = "/tmp"
|
|
, projectStartHook = Just $ do spawn "ytapp-launcher.sh"
|
|
}
|
|
]
|
|
|
|
modify :: XConfig l -> XConfig l
|
|
modify conf = dynamicProjects projects conf
|
|
{ workspaces = [] }
|
|
|