all repos — dot @ master

Shell, editor and terminal configuration, and the tools that go with them

config/ghostty/config (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
# 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