Move to ghostty

This commit is contained in:
Samae 2025-01-11 20:19:59 +02:00
parent 63e11664ef
commit cce850661b
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ import XMonad
import XMonad.Actions.DynamicProjects
import XMonad.Util.Run
term = "kitty"
term = "ghostty"
spawnGuiTextEditor :: X ()
spawnGuiTextEditor = safeSpawn "neovide" []
@ -15,7 +15,7 @@ singleTermAppWithName :: String -> String -> Project
singleTermAppWithName name app = Project
{ projectName = name
, projectDirectory = "/tmp"
, projectStartHook = Just $ do safeSpawn term ["zsh","-c",app]
, projectStartHook = Just $ do safeSpawn term ["--command=\"zsh -c " <> app <>"\""]
}
singleAppWithName :: String -> String -> Project

View file

@ -16,7 +16,7 @@ modify conf = conf
}
pads =
[ NS "htop" "kitty --title htop tmux" (title =? "htop")
[ NS "htop" "ghostty --x11-instance-name=htop --command=tmux" (appName =? "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

@ -64,7 +64,7 @@ withConfig =
$ desktopConfig -- on a default desktop config
{ manageHook = myManageHook
, layoutHook = desktopLayoutModifiers layouts
, terminal = "kitty"
, terminal = "ghostty"
, normalBorderColor = N.backgroundhl
, focusedBorderColor = N.nord9
, borderWidth = 5