More toplevel project helpers

This commit is contained in:
Martin Potier 2020-03-30 10:20:40 +03:00
parent a6f50829ae
commit 26b9fd7e68
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E

View file

@ -14,11 +14,14 @@ spinVimAndSt dir name =
safeSpawn "st" ["-f","Iosevka Samae-18","-e","tmux","new","-A","-s",name]
}
workProject = spinVimAndSt "~/relex/"
adminProject = spinVimAndSt "~/admin/"
candyProject = spinVimAndSt "~/candy/"
workProject = spinVimAndSt "~/relex/"
projects :: [Project]
projects = [ candyProject "adventOfCode"
projects = [ adminProject "sam-configuration-nix"
, adminProject "cdc-config"
, candyProject "adventOfCode"
, candyProject "exercism"
, workProject "ToyVault"
, workProject "ansible-ci"
@ -51,11 +54,6 @@ projects = [ candyProject "adventOfCode"
, projectStartHook = Just $ do
safeSpawn "st" ["-f","Iosevka Samae-12","-e","gotop"]
}
, Project { projectName = "admin"
, projectDirectory = "~/admin"
, projectStartHook = Just $ do safeSpawn "vim" ["-g", "+set guifont=Victor\\ Mono\\ SemiBold\\ 18|e ."]
safeSpawn "st" ["-f","Iosevka Samae-18","-e","tmux","new","-A","-s","admin"]
}
, Project { projectName = "email"
, projectDirectory = "~/mail"
, projectStartHook = Just $ do safeSpawnProg "st"
@ -82,7 +80,7 @@ projects = [ candyProject "adventOfCode"
, projectStartHook = Just $ do safeSpawnProg "chromium"
}
, Project { projectName = "notes"
, projectDirectory = "~/vimwiki/"
, projectDirectory = "~/zk/"
, projectStartHook = Just $ do safeSpawn "vim" ["-g", "+set guifont=Victor\\ Mono\\ SemiBold\\ 18|VimwikiMakeDiaryNote"]
}
]