More toplevel project helpers
This commit is contained in:
parent
a6f50829ae
commit
26b9fd7e68
1 changed files with 6 additions and 8 deletions
|
@ -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"]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue