From f7b0fd2befc272a5595bc46bc0f3eadb89565b0d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 28 Dec 2024 11:15:35 +0100 Subject: [PATCH] add ghostty config --- dot_config/fish/private_config.fish.tmpl | 2 ++ dot_config/ghostty/config | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dot_config/ghostty/config diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index d91afa4..1151c07 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -1,3 +1,5 @@ +test -n "$GHOSTTY_RESOURCES_DIR"; and source $GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish + {{- if (get . "brew") }} {{- if eq .chezmoi.os "darwin" }} {{- if (get . "sudo") }} diff --git a/dot_config/ghostty/config b/dot_config/ghostty/config new file mode 100644 index 0000000..db50af6 --- /dev/null +++ b/dot_config/ghostty/config @@ -0,0 +1,24 @@ +# appearance +theme = light:catppuccin-latte,dark:catppuccin-mocha +cursor-style-blink = false +cursor-invert-fg-bg = true + +# font +font-family = MonoLisa Nerd Font +font-size = 17 +adjust-cell-width = -10% + +# size +window-height = 300 +window-width = 300 + +# features +copy-on-select = true +shell-integration-features = sudo,title,no-cursor + +# keybinds +keybind = global:cmd+shift+space=toggle_quick_terminal + +# fix "git" arrows in prompt, see https://github.com/ghostty-org/ghostty/discussions/3541 +font-codepoint-map = U+21E1-U+21E3=Menlo +