feat: add Ghostty config

This commit is contained in:
Oliver Ladner 2024-12-27 15:31:21 +01:00
commit d1d4874778
3 changed files with 47 additions and 0 deletions

View file

@ -173,6 +173,11 @@ if.during-aerospace-startup = true
run = 'move-node-to-workspace 1'
# Terminal workspace
[[on-window-detected]]
if.app-id = 'com.mitchellh.ghostty'
if.during-aerospace-startup = true
run = 'move-node-to-workspace 2'
[[on-window-detected]]
if.app-id = 'org.alacritty'
if.during-aerospace-startup = true

41
.config/ghostty/config Normal file
View file

@ -0,0 +1,41 @@
theme = light:rose-pine-dawn,dark:rose-pine-moon
# FIXME: https://github.com/mbadolato/iTerm2-Color-Schemes/issues/442
# green
palette = 2=#286983
palette = 10=#286983
# blue
palette = 4=#56949f
palette = 12=#56949f
selection-background = #dfdad9
shell-integration-features = no-cursor
cursor-style = "block"
cursor-style-blink = true
cursor-color = #b4637a
cursor-opacity = 0.6
font-family = "JetBrainsMono Nerd Font"
# font-style depends on the font's features
font-style = "Regular"
font-style-bold = "Bold"
font-style-italic = "Italic"
font-style-bold-italic = "Bold Italic"
# Disable programming ligatures
font-feature = "-calt"
font-size = 17
# Reduce letter spacing
adjust-cell-width = -8%
adjust-cell-height = -1
window-padding-x = 8
window-padding-y = 4
window-decoration = false
window-colorspace = display-p3
# custom-shader = /Users/oliver.ladner/.config/ghostty/shaders/ghostty-shaders/just-snow.glsl
# custom-shader = /Users/oliver.ladner/.config/ghostty/shaders/ghostty-shaders/retro-terminal.glsl
# custom-shader = /Users/oliver.ladner/.config/ghostty/shaders/ghostty-shaders/cubes.glsl
auto-update = off

@ -0,0 +1 @@
Subproject commit fd31bd4211784f1e199091bccd080092ae27cf35