diff --git a/bootstrap.sh b/bootstrap.sh index f8b077b..321f00c 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 diff --git a/ghostty b/ghostty new file mode 100644 index 0000000..3507276 --- /dev/null +++ b/ghostty @@ -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 Ventura’s 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 \ No newline at end of file