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 *.hi
*.o *.o
prompt-history prompt-history
xmonad-x86_64-linux xmonad-*-linux
xmonad.errors xmonad.errors
xmonad.state xmonad.state

View file

@ -11,7 +11,7 @@ spinTextEditorAndTerm dir name =
Project { projectName = name Project { projectName = name
, projectDirectory = dir <> name , projectDirectory = dir <> name
, projectStartHook = Just , projectStartHook = Just
$ safeSpawn "nvidia-offload" ["kitty","tmux","new","-A","-s",name] $ safeSpawn "rio" ["-e","tmux","new","-A","-s",name]
} }
spinChat :: String -> Project spinChat :: String -> Project
@ -25,7 +25,7 @@ spinInTermWithName :: String -> String -> Project
spinInTermWithName projectName cmd = spinInTermWithName projectName cmd =
Project { projectName = projectName Project { projectName = projectName
, projectDirectory = "/tmp" , projectDirectory = "/tmp"
, projectStartHook = Just $ do safeSpawn "kitty" [cmd] , projectStartHook = Just $ do safeSpawn "rio" ["-e",cmd]
} }
spinInTerm :: String -> Project spinInTerm :: String -> Project
@ -124,7 +124,7 @@ projects = [ adminProject "wrk-config"
, Project { projectName = "status" , Project { projectName = "status"
, projectDirectory = "/tmp" , projectDirectory = "/tmp"
, projectStartHook = Just $ do , projectStartHook = Just $ do
safeSpawn "nvidia-offload" ["kitty","gotop"] safeSpawn "rio" ["-e","btop"]
} }
, Project { projectName = "sound" , Project { projectName = "sound"
, projectDirectory = "/tmp" , projectDirectory = "/tmp"

View file

@ -16,7 +16,7 @@ modify conf = conf
} }
pads = 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)) (customFloating $ W.RationalRect (1/3) (1/3) (1/3) (1/3))
-- , NS "stardict" "stardict" (className =? "Stardict") -- , NS "stardict" "stardict" (className =? "Stardict")
-- (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3)) -- (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3))

View file

@ -75,7 +75,7 @@ withConfig =
{ manageHook = myManageHook <+> manageHook desktopConfig { manageHook = myManageHook <+> manageHook desktopConfig
, layoutHook = desktopLayoutModifiers layouts , layoutHook = desktopLayoutModifiers layouts
, startupHook = spawnOnce "sh /home/e/.fehbg" , startupHook = spawnOnce "sh /home/e/.fehbg"
, terminal = "nvidia-offload kitty" , terminal = "alacritty"
, normalBorderColor = S.base03 , normalBorderColor = S.base03
, focusedBorderColor = S.green , focusedBorderColor = S.green
, borderWidth = 5 , borderWidth = 5