diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-08 14:25:36 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-08 14:25:36 -0600 |
| commit | 4278cc3dcdfcd73029f91340390c9d4660862fff (patch) | |
| tree | f61f568d84755c960c14ad9948110e27bc597c1d | |
| parent | 272d277b1f4c23009d8addf5b3f45545b04dbd70 (diff) | |
feat(ghostty): configure terminal to match st appearance
Replace default Ghostty template with custom configuration:
- Berkeley Mono font (size 12) with stylistic sets
- Colors matching st terminal (gray90 on black, pure ANSI colors)
- 0.8 background opacity for transparency
- Hide titlebar (gtk-titlebar = false) while keeping window decorations
- Block cursor style matching st
- Shift+enter keybinding
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
| -rw-r--r-- | dotfiles/system/.config/ghostty/config | 85 |
1 files changed, 43 insertions, 42 deletions
diff --git a/dotfiles/system/.config/ghostty/config b/dotfiles/system/.config/ghostty/config index 24660ac..68f8a15 100644 --- a/dotfiles/system/.config/ghostty/config +++ b/dotfiles/system/.config/ghostty/config @@ -1,43 +1,44 @@ -# This is the configuration file for Ghostty. -# -# This template file has been automatically created at the following -# path since Ghostty couldn't find any existing config files on your system: -# -# /home/cjennings/.config/ghostty/config -# -# The template does not set any default options, since Ghostty ships -# with sensible defaults for all options. Users should only need to set -# options that they want to change from the default. -# -# Run `ghostty +show-config --default --docs` to view a list of -# all available config options and their default values. -# -# Additionally, each config option is also explained in detail -# on Ghostty's website, at https://ghostty.org/docs/config. +# Ghostty configuration to match st terminal appearance -# Config syntax crash course -# ========================== -# # The config file consists of simple key-value pairs, -# # separated by equals signs. -# font-family = Iosevka -# window-padding-x = 2 -# -# # Spacing around the equals sign does not matter. -# # All of these are identical: -# key=value -# key= value -# key =value -# key = value -# -# # Any line beginning with a # is a comment. It's not possible to put -# # a comment after a config option, since it would be interpreted as a -# # part of the value. For example, this will have a value of "#123abc": -# background = #123abc -# -# # Empty values are used to reset config keys to default. -# key = -# -# # Some config options have unique syntaxes for their value, -# # which is explained in the docs for that config option. -# # Just for example: -# resize-overlay-duration = 4s 200ms +# Font configuration (matching st) +font-family = "Berkeley Mono" +font-size = 12 +font-feature = ss01 +font-feature = ss02 +font-feature = ss03 + +# Window appearance +window-padding-x = 2 +window-padding-y = 2 +background-opacity = 0.8 +gtk-titlebar = false + +# Colors (matching st's color scheme) +# Foreground: gray90, Background: black +foreground = d9d9d9 +background = 000000 + +# 16 ANSI colors (matching st config.def.h) +palette = 0=#000000 +palette = 1=#cd0000 +palette = 2=#00cd00 +palette = 3=#cdcd00 +palette = 4=#0000ee +palette = 5=#cd00cd +palette = 6=#00cdcd +palette = 7=#e5e5e5 +palette = 8=#7f7f7f +palette = 9=#ff0000 +palette = 10=#00ff00 +palette = 11=#ffff00 +palette = 12=#5c5cff +palette = 13=#ff00ff +palette = 14=#00ffff +palette = 15=#ffffff + +# Cursor configuration +cursor-color = cccccc +cursor-style = block + +# Keybindings +keybind = shift+enter=text:\x1b\r |
