From 103f14ad32bcf45fcde6f35dc03ca638fbbcac25 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Fri, 10 May 2024 14:55:33 +0300 Subject: [PATCH] New term --- .gitignore | 2 +- lib/Projects.hs | 6 +++--- lib/Scratchpad.hs | 2 +- xmonad.hs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 75818da..d2a9239 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,6 @@ artwork *.hi *.o prompt-history -xmonad-x86_64-linux +xmonad-*-linux xmonad.errors xmonad.state diff --git a/lib/Projects.hs b/lib/Projects.hs index 9d75219..fed2009 100644 --- a/lib/Projects.hs +++ b/lib/Projects.hs @@ -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" diff --git a/lib/Scratchpad.hs b/lib/Scratchpad.hs index 703e5ec..6c9c494 100644 --- a/lib/Scratchpad.hs +++ b/lib/Scratchpad.hs @@ -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)) diff --git a/xmonad.hs b/xmonad.hs index 414d515..9a4b2be 100755 --- a/xmonad.hs +++ b/xmonad.hs @@ -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