From b975c0a90dce97c8d96ab464d69575a9d8c150b3 Mon Sep 17 00:00:00 2001 From: azahi Date: Tue, 12 Jun 2018 22:59:58 +0300 Subject: Add X.Custom and split existing code in modules --- src/XMonad/Custom/Projects.hs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/XMonad/Custom/Projects.hs (limited to 'src/XMonad/Custom/Projects.hs') diff --git a/src/XMonad/Custom/Projects.hs b/src/XMonad/Custom/Projects.hs new file mode 100644 index 0000000..fac181b --- /dev/null +++ b/src/XMonad/Custom/Projects.hs @@ -0,0 +1,25 @@ +module XMonad.Custom.Projects + ( projects + ) where + +import XMonad.Actions.DynamicProjects +import XMonad.Actions.SpawnOn +import qualified XMonad.Custom.Misc as CM + +projects :: [Project] +projects = + [ Project { projectName = "Template" + , projectDirectory = "~/" + , projectStartHook = Nothing + } + + , Project { projectName = "Emacs" + , projectDirectory = "~/" + , projectStartHook = Just $ spawnOn "Emacs" "/usr/bin/emacsclient" + } + + , Project { projectName = "WWW" + , projectDirectory = "~/" + , projectStartHook = Just $ spawnOn "WWW" (CM.browser CM.customApplications) + } + ] -- cgit 1.4.1