summaryrefslogtreecommitdiff
path: root/config/ghostty
diff options
context:
space:
mode:
Diffstat (limited to 'config/ghostty')
-rw-r--r--config/ghostty/config7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/ghostty/config b/config/ghostty/config
index 67393b4..0cb6f65 100644
--- a/config/ghostty/config
+++ b/config/ghostty/config
@@ -30,8 +30,11 @@ font-size = 12
# theme = Monokai Soda
# theme = Builtin Light
-# Import color scheme (managed by theme script)
-config-file = ~/.local/share/ghostty/color
+# 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