# Shell configuration
command = /bin/zsh --login -ic "exec tmux new-session -As 0 -f ~/.tmux.conf"

# Window settings
title =
background-opacity = 1
# background-blur = true

# Do not confirm before closing.
confirm-close-surface = false

# Terminal settings
# term = xterm-256color
scrollback-limit = 0

# Keyboard bindings
keybind = alt+enter=toggle_fullscreen
keybind = super+enter=toggle_fullscreen

# Font configuration
# font-family = FiraCode Nerd Font Ret
# font-family = Agave Nerd Font Mono
font-family = Mononoki Nerd Font Mono
font-size = 12

# Default theme (can be overridden by theme script via color file)
# Available themes: ghostty +list-themes
# theme = Brogrammer
# theme = Monokai Pro Spectrum
# theme = Monokai Soda
# theme = Builtin Light

# Import color scheme (managed by theme script). The leading `?` makes it
# optional: bin/theme writes that file, so until it has run on this machine the
# file does not exist, and a plain config-file makes Ghostty refuse to start
# with "error opening config-file ... error.FileNotFound".
config-file = ?~/.local/share/ghostty/color

# Shader
# custom-shader = ~/.config/ghostty/shader.glsl

# macOS specific
click-repeat-interval = 500
macos-titlebar-proxy-icon = hidden
macos-titlebar-style = hidden
auto-update = download
auto-update-channel = stable

# Text selection
selection-background = #ff5a00

# Machine-local overrides, where a machine has any: ~/.config/ghostty-local, a
# file in no repo. Last, so its values win over everything above, the theme
# colours included, and its keybinds add to the ones set here. `?` makes it
# optional, so a machine without one is not an error.
#
# Not a file beside this one: link.sh links this whole directory, so
# ~/.config/ghostty is the repo itself and anything dropped in it would be an
# untracked file in the checkout every machine shares.
config-file = ?~/.config/ghostty-local
