some fixes
This commit is contained in:
parent
11fb80639d
commit
37c58fbd2c
2 changed files with 16 additions and 21 deletions
|
@ -23,36 +23,30 @@ singleTermAppWithName name app = Project
|
||||||
-- safeSpawn "nvidia-offload" ["alacritty","-e","tmux","new","-A","-s",name]
|
-- safeSpawn "nvidia-offload" ["alacritty","-e","tmux","new","-A","-s",name]
|
||||||
-- }
|
-- }
|
||||||
|
|
||||||
singleAppWithName' :: String -> String -> [String] -> Project
|
singleAppWithName :: String -> String -> Project
|
||||||
singleAppWithName' name app args = Project
|
singleAppWithName name app = Project
|
||||||
{ projectName = name
|
{ projectName = name
|
||||||
, projectDirectory = "/tmp"
|
, projectDirectory = "/tmp"
|
||||||
, projectStartHook = Just $ do safeSpawn app args
|
, projectStartHook = Just $ do spawn app
|
||||||
}
|
}
|
||||||
|
|
||||||
singleAppWithName :: String -> String -> Project
|
|
||||||
singleAppWithName name app = singleAppWithName' name app []
|
|
||||||
|
|
||||||
singleApp :: String -> Project
|
singleApp :: String -> Project
|
||||||
singleApp app = singleAppWithName app app
|
singleApp app = singleAppWithName app app
|
||||||
|
|
||||||
singleJackApp :: String -> Project
|
|
||||||
singleJackApp app = singleAppWithName' app "pw-jack" [app]
|
|
||||||
|
|
||||||
projects :: [Project]
|
projects :: [Project]
|
||||||
projects =
|
projects =
|
||||||
[ singleApp "m8c"
|
[ singleApp "carla"
|
||||||
, singleApp "obs"
|
, singleApp "obs"
|
||||||
|
, singleApp "patchage"
|
||||||
|
, singleApp "reaper"
|
||||||
|
, singleApp "renoise"
|
||||||
, singleApp "steam"
|
, singleApp "steam"
|
||||||
, singleJackApp "carla"
|
|
||||||
, singleJackApp "reaper"
|
|
||||||
, singleJackApp "renoise"
|
|
||||||
, singleAppWithName "Books" "calibre"
|
, singleAppWithName "Books" "calibre"
|
||||||
, singleAppWithName "discord" "Discord"
|
, singleAppWithName "discord" "Discord"
|
||||||
, singleAppWithName "element" "element-desktop"
|
, singleAppWithName "element" "element-desktop"
|
||||||
, singleAppWithName "signal" "signal-desktop"
|
, singleAppWithName "signal" "signal-desktop"
|
||||||
, singleAppWithName "youtube" "chromium"
|
, singleAppWithName "vcv" "Rack"
|
||||||
, singleAppWithName' "vcv" "pw-jack" ["Rack"]
|
, singleAppWithName "wire" "wire-desktop"
|
||||||
, singleTermAppWithName "email" "neomutt"
|
, singleTermAppWithName "email" "neomutt"
|
||||||
, Project { projectName = "admin"
|
, Project { projectName = "admin"
|
||||||
, projectDirectory = "~/admin/nixos-config"
|
, projectDirectory = "~/admin/nixos-config"
|
||||||
|
@ -69,6 +63,12 @@ projects =
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
|
, Project { projectName = "cdc-documentation"
|
||||||
|
, projectDirectory = "~/admin/cdc-documentation"
|
||||||
|
, projectStartHook = Just $ do
|
||||||
|
safeSpawnProg term
|
||||||
|
safeSpawn "emacsclient" ["-c"]
|
||||||
|
}
|
||||||
, Project { projectName = "rukokuoppa"
|
, Project { projectName = "rukokuoppa"
|
||||||
, projectDirectory = "~/candy/rukokuoppa"
|
, projectDirectory = "~/candy/rukokuoppa"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
||||||
|
@ -84,11 +84,6 @@ projects =
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
||||||
safeSpawnProg term
|
safeSpawnProg term
|
||||||
}
|
}
|
||||||
, Project { projectName = "m8"
|
|
||||||
, projectDirectory = "~/candy/m8c"
|
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
|
||||||
safeSpawnProg term
|
|
||||||
}
|
|
||||||
, Project { projectName = "waymonad"
|
, Project { projectName = "waymonad"
|
||||||
, projectDirectory = "~/candy/waymonad"
|
, projectDirectory = "~/candy/waymonad"
|
||||||
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
, projectStartHook = Just $ do safeSpawn "emacsclient" ["-c"]
|
||||||
|
|
|
@ -38,7 +38,7 @@ layouts = toggleLayouts fullscreen tiled
|
||||||
-- For className, use the second value that xprop gives you.
|
-- For className, use the second value that xprop gives you.
|
||||||
-------------- Here be the law of windows
|
-------------- Here be the law of windows
|
||||||
myManageHook = composeAll
|
myManageHook = composeAll
|
||||||
[ className =? "Patchage" --> doShift "sound"
|
[ className =? "Patchage" --> doShift "patchage"
|
||||||
, className =? "Pavucontrol" --> doShift "music"
|
, className =? "Pavucontrol" --> doShift "music"
|
||||||
, className =? "Pinentry" --> doCenterFloat
|
, className =? "Pinentry" --> doCenterFloat
|
||||||
, className =? "REAPER" --> hasBorder False
|
, className =? "REAPER" --> hasBorder False
|
||||||
|
|
Loading…
Reference in a new issue