Moving back to vim
This commit is contained in:
parent
1eaae43e46
commit
964e01a3fa
1 changed files with 20 additions and 9 deletions
|
@ -8,6 +8,9 @@ import XMonad.Util.Run
|
||||||
|
|
||||||
term = "alacritty"
|
term = "alacritty"
|
||||||
|
|
||||||
|
spawnGuiTextEditor :: X ()
|
||||||
|
spawnGuiTextEditor = safeSpawn "vim" ["-g"]
|
||||||
|
|
||||||
singleTermAppWithName :: String -> String -> Project
|
singleTermAppWithName :: String -> String -> Project
|
||||||
singleTermAppWithName name app = Project
|
singleTermAppWithName name app = Project
|
||||||
{ projectName = name
|
{ projectName = name
|
||||||
|
@ -49,12 +52,12 @@ projects =
|
||||||
, singleTermAppWithName "email" "neomutt"
|
, singleTermAppWithName "email" "neomutt"
|
||||||
, Project { projectName = "admin"
|
, Project { projectName = "admin"
|
||||||
, projectDirectory = "~/admin/nixos-config"
|
, projectDirectory = "~/admin/nixos-config"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "overlays-personal"
|
, Project { projectName = "overlays-personal"
|
||||||
, projectDirectory = "~/admin/overlays-personal"
|
, projectDirectory = "~/admin/overlays-personal"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "steam"
|
, Project { projectName = "steam"
|
||||||
|
@ -63,37 +66,45 @@ projects =
|
||||||
}
|
}
|
||||||
, Project { projectName = "youtube"
|
, Project { projectName = "youtube"
|
||||||
, projectDirectory = "/tmp"
|
, projectDirectory = "/tmp"
|
||||||
, projectStartHook = Just $ safeSpawn "firefox" ["-P", "Youtube"]
|
, projectStartHook = Just $ safeSpawn "chromium"
|
||||||
|
["--app=youtube.com"
|
||||||
|
,"--incognito"]
|
||||||
}
|
}
|
||||||
, Project { projectName = "cdc-config"
|
, Project { projectName = "cdc-config"
|
||||||
, projectDirectory = "~/admin/cdc-config"
|
, projectDirectory = "~/admin/cdc-config"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "cdc-documentation"
|
, Project { projectName = "cdc-documentation"
|
||||||
, projectDirectory = "~/admin/cdc-documentation"
|
, projectDirectory = "~/admin/cdc-documentation"
|
||||||
, projectStartHook = Just $ do
|
, projectStartHook = Just $ do
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
safeSpawn "emacsclient" ["-c"]
|
spawnGuiTextEditor
|
||||||
|
}
|
||||||
|
, Project { projectName = "adventOfCode"
|
||||||
|
, projectDirectory = "~/candy/adventofcode"
|
||||||
|
, projectStartHook = Just $ do
|
||||||
|
safeSpawnProg term
|
||||||
|
spawnGuiTextEditor
|
||||||
}
|
}
|
||||||
, Project { projectName = "rukokuoppa"
|
, Project { projectName = "rukokuoppa"
|
||||||
, projectDirectory = "~/candy/rukokuoppa"
|
, projectDirectory = "~/candy/rukokuoppa"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "notes"
|
, Project { projectName = "notes"
|
||||||
, projectDirectory = "~/zk"
|
, projectDirectory = "~/zk"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "xmonad"
|
, Project { projectName = "xmonad"
|
||||||
, projectDirectory = "~/.xmonad"
|
, projectDirectory = "~/.xmonad"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "waymonad"
|
, Project { projectName = "waymonad"
|
||||||
, projectDirectory = "~/candy/waymonad"
|
, projectDirectory = "~/candy/waymonad"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do spawnGuiTextEditor
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "accounting"
|
, Project { projectName = "accounting"
|
||||||
|
|
Loading…
Reference in a new issue