This commit is contained in:
Martin Potier 2024-05-10 14:55:33 +03:00
parent f0f726f3ab
commit 103f14ad32
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E
4 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View file

@ -3,6 +3,6 @@ artwork
*.hi
*.o
prompt-history
xmonad-x86_64-linux
xmonad-*-linux
xmonad.errors
xmonad.state

View file

@ -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"

View file

@ -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))

View file

@ -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