mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Use conditional theme file instead and send correct signal
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user