Add ghostty configuration

This commit is contained in:
Jonny Barnes 2025-01-18 21:18:34 +00:00
parent 79e147db3a
commit d73fbeeeb3
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
2 changed files with 23 additions and 0 deletions

View file

@ -19,6 +19,11 @@ test -L $HOME/.config/sheldon/plugins.toml || ln -f -s $BASEDIR/sheldon.toml $HO
test -L $HOME/.zsh || ln -f -s $BASEDIR/zsh $HOME/.zsh
test -L $HOME/.zshrc || ln -f -s $BASEDIR/zshrc.zsh $HOME/.zshrc
# If ghostty is installed on the system then setup the config
if (( ${+commands[ghostty]} )); then
test -L $HOME/Library/Application\ Support/com.mitchellh.ghostty/config || ln -f -s $BASEDIR/ghostty $HOME/Library/Application\ Support/com.mitchellh.ghostty/config
fi
# setup gpg conf
test -d $HOME/.gnupg || mkdir $HOME/.gnupg
cp -f $BASEDIR/gnupg/common.conf $HOME/.gnupg/common.conf

18
ghostty Normal file
View file

@ -0,0 +1,18 @@
# Ghostty config
# Font configuration
font-size = 18
font-family = MonaspiceKr NFM
font-thicken = true
# Set the theme
theme = Cobalt2
# Fix an issue when switching apps on macOS Venturas Stage Manager
background-opacity = 0.999
# Try to ensure readability of text
minimum-contrast = 1.1
# I got used to this behaviour on iTerm
copy-on-select = true