config 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Ghostty — matched to the Alacritty setup it replaces.
  2. #
  3. # Ghostty's own defaults differ from Alacritty's in several visible ways
  4. # (different palette, GTK titlebar, 2px padding, close confirmation), so
  5. # each of those is set explicitly below rather than left to default.
  6. font-family = JetBrains Mono
  7. font-size = 10
  8. # Alacritty's built-in default scheme (base16 default dark).
  9. # Ghostty defaults to a different scheme, so this must be spelled out.
  10. background = #181818
  11. foreground = #d8d8d8
  12. # normal
  13. palette = 0=#181818
  14. palette = 1=#ac4242
  15. palette = 2=#90a959
  16. palette = 3=#f4bf75
  17. palette = 4=#6a9fb5
  18. palette = 5=#aa759f
  19. palette = 6=#75b5aa
  20. palette = 7=#d8d8d8
  21. # bright
  22. palette = 8=#6b6b6b
  23. palette = 9=#c55555
  24. palette = 10=#aac474
  25. palette = 11=#feca88
  26. palette = 12=#82b8c8
  27. palette = 13=#c28cb8
  28. palette = 14=#93d3c3
  29. palette = 15=#f8f8f8
  30. # Match Alacritty's bare chrome under sway: no GTK header bar, no padding,
  31. # no confirmation prompt on close.
  32. window-decoration = none
  33. window-padding-x = 0
  34. window-padding-y = 0
  35. confirm-close-surface = false
  36. cursor-style = block
  37. cursor-style-blink = false
  38. # Carried over from alacritty.toml: shift+Return sends ESC CR.
  39. keybind = shift+enter=text:\x1b\r