New term
This commit is contained in:
parent
f0f726f3ab
commit
103f14ad32
4 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,6 +3,6 @@ artwork
|
|||
*.hi
|
||||
*.o
|
||||
prompt-history
|
||||
xmonad-x86_64-linux
|
||||
xmonad-*-linux
|
||||
xmonad.errors
|
||||
xmonad.state
|
||||
|
|
|
@ -11,7 +11,7 @@ spinTextEditorAndTerm dir name =
|
|||
Project { projectName = name
|
||||
, projectDirectory = dir <> name
|
||||
, projectStartHook = Just
|
||||
$ safeSpawn "nvidia-offload" ["kitty","tmux","new","-A","-s",name]
|
||||
$ safeSpawn "rio" ["-e","tmux","new","-A","-s",name]
|
||||
}
|
||||
|
||||
spinChat :: String -> Project
|
||||
|
@ -25,7 +25,7 @@ spinInTermWithName :: String -> String -> Project
|
|||
spinInTermWithName projectName cmd =
|
||||
Project { projectName = projectName
|
||||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do safeSpawn "kitty" [cmd]
|
||||
, projectStartHook = Just $ do safeSpawn "rio" ["-e",cmd]
|
||||
}
|
||||
|
||||
spinInTerm :: String -> Project
|
||||
|
@ -124,7 +124,7 @@ projects = [ adminProject "wrk-config"
|
|||
, Project { projectName = "status"
|
||||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do
|
||||
safeSpawn "nvidia-offload" ["kitty","gotop"]
|
||||
safeSpawn "rio" ["-e","btop"]
|
||||
}
|
||||
, Project { projectName = "sound"
|
||||
, projectDirectory = "/tmp"
|
||||
|
|
|
@ -16,7 +16,7 @@ modify conf = conf
|
|||
}
|
||||
|
||||
pads =
|
||||
[ NS "htop" "nvidia-offload kitty --title htop tmux" (title =? "htop")
|
||||
[ NS "htop" "alacritty --title htop tmux" (title =? "htop")
|
||||
(customFloating $ W.RationalRect (1/3) (1/3) (1/3) (1/3))
|
||||
-- , NS "stardict" "stardict" (className =? "Stardict")
|
||||
-- (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3))
|
||||
|
|
|
@ -75,7 +75,7 @@ withConfig =
|
|||
{ manageHook = myManageHook <+> manageHook desktopConfig
|
||||
, layoutHook = desktopLayoutModifiers layouts
|
||||
, startupHook = spawnOnce "sh /home/e/.fehbg"
|
||||
, terminal = "nvidia-offload kitty"
|
||||
, terminal = "alacritty"
|
||||
, normalBorderColor = S.base03
|
||||
, focusedBorderColor = S.green
|
||||
, borderWidth = 5
|
||||
|
|
Loading…
Reference in a new issue