From 9aef0ffab6c20b7fe80e4f88c148c99338a6a855 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 17 Sep 2025 20:45:02 +0200 Subject: [PATCH] Use conditional theme file instead and send correct signal --- bin/omarchy-theme-set-terminal | 9 +-------- config/ghostty/config | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/bin/omarchy-theme-set-terminal b/bin/omarchy-theme-set-terminal index 63a30f1..8a6bdbd 100755 --- a/bin/omarchy-theme-set-terminal +++ b/bin/omarchy-theme-set-terminal @@ -3,12 +3,5 @@ case "$TERMINAL" in "alacritty") touch ~/.config/alacritty/alacritty.toml ;; "kitty") killall -SIGUSR1 kitty ;; -"ghostty") - # Use a default theme if none exists - if [[ ! -f ~/.config/omarchy/current/theme/ghostty.conf ]]; then - echo "theme = Spacegray" >~/.config/omarchy/current/theme/ghostty.conf - fi - - killall -USRSIG2 ghostty - ;; +"ghostty") killall -SIGUSR2 ghostty ;; esac diff --git a/config/ghostty/config b/config/ghostty/config index 3cef74d..ee46b1d 100644 --- a/config/ghostty/config +++ b/config/ghostty/config @@ -1,5 +1,5 @@ # Dynamic theme colors -config-file = "~/.config/omarchy/current/theme/ghostty.conf" +config-file = ?"~/.config/omarchy/current/theme/ghostty.conf" # Font font-family = "CaskaydiaMono Nerd Font"