# Ghostty — matched to the Alacritty setup it replaces.
#
# Ghostty's own defaults differ from Alacritty's in several visible ways
# (different palette, GTK titlebar, 2px padding, close confirmation), so
# each of those is set explicitly below rather than left to default.

font-family = JetBrains Mono
font-size = 10

# Alacritty's built-in default scheme (base16 default dark).
# Ghostty defaults to a different scheme, so this must be spelled out.
background = #181818
foreground = #d8d8d8

# normal
palette = 0=#181818
palette = 1=#ac4242
palette = 2=#90a959
palette = 3=#f4bf75
palette = 4=#6a9fb5
palette = 5=#aa759f
palette = 6=#75b5aa
palette = 7=#d8d8d8

# bright
palette = 8=#6b6b6b
palette = 9=#c55555
palette = 10=#aac474
palette = 11=#feca88
palette = 12=#82b8c8
palette = 13=#c28cb8
palette = 14=#93d3c3
palette = 15=#f8f8f8

# Match Alacritty's bare chrome under sway: no GTK header bar, no padding,
# no confirmation prompt on close.
window-decoration = none
window-padding-x = 0
window-padding-y = 0
confirm-close-surface = false

cursor-style = block
cursor-style-blink = false

# Carried over from alacritty.toml: shift+Return sends ESC CR.
keybind = shift+enter=text:\x1b\r
