Accommodate changes in Ghostty 1.2.0
dblume

dblume commited on 2025-09-17 08:52:00
Showing 1 changed files, with 8 additions and 9 deletions.


1. catppuccin-mocha got renamed and a better cursor-text color.
2. cursor-invert-fg-bg got deprecated
3. gtk-adwaita got removed, will have to check on i3wm titlebars

See: https://ghostty.org/docs/install/release-notes/1-2-0
... ...
@@ -1,6 +1,7 @@
1 1
 # https://wiki.dlma.com/ghostty
2 2
 # https://ghostty.org/docs/config
3
-theme = "catppuccin-mocha"
3
+# Ghostty 1.2 renamed catppuccin-mocha to "Catppuccin Mocha" and 
4
+theme = "Catppuccin Mocha"
4 5
 
5 6
 split-divider-color = #789
6 7
 
... ...
@@ -12,13 +13,9 @@ palette = 7=#d0d5e5
12 13
 palette = 15=#dee2f8
13 14
 foreground = d0d5e5
14 15
 background = 1e1e2a
15
-cursor-invert-fg-bg = true
16
-
17
-# This foreground override is esp for SpaceGray Eighties
18
-#foreground = dddace
19
-
20
-# For Monokai Pro Spectrum
21
-#background = 141618
16
+# An improvment to cursor-text color means maybe don't need cursor-color and cursor-text overrides now.
17
+cursor-color=cell-foreground
18
+cursor-text=cell-background
22 19
 
23 20
 #font-family = "DejaVu Sans Mono for Powerline"
24 21
 font-family = "Roboto Mono for Powerline"
... ...
@@ -41,7 +38,9 @@ shell-integration-features = no-cursor
41 38
 keybind = control+i=text:\\i
42 39
 
43 40
 # Linux-only configuration: Expected titlebar in i3
44
-gtk-adwaita = false
41
+# In Ghostty 1.2, libadwaita is required. https://ghostty.org/docs/install/release-notes/1-2-0
42
+# https://ghostty.org/docs/install/release-notes/1-1-0#gtk:-forcing-a-dependency-on-libadwaita
43
+#gtk-adwaita = false
45 44
 gtk-titlebar = false
46 45
  
47 46
 # consider
48 47