Use conditional theme file instead and send correct signal
This commit is contained in:
1 parent
f6383fd3e9
commit
9aef0ffab6
2 files changed
+2
-9
No files matched your search
@@ -3,12 +3,5 @@
|
|||||||
case "$TERMINAL" in
|
case "$TERMINAL" in
|
||||||
"alacritty") touch ~/.config/alacritty/alacritty.toml ;;
|
"alacritty") touch ~/.config/alacritty/alacritty.toml ;;
|
||||||
"kitty") killall -SIGUSR1 kitty ;;
|
"kitty") killall -SIGUSR1 kitty ;;
|
||||||
"ghostty")
|
"ghostty") killall -SIGUSR2 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
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dynamic theme colors
|
# Dynamic theme colors
|
||||||
config-file = "~/.config/omarchy/current/theme/ghostty.conf"
|
config-file = ?"~/.config/omarchy/current/theme/ghostty.conf"
|
||||||
|
|
||||||
# Font
|
# Font
|
||||||
font-family = "CaskaydiaMono Nerd Font"
|
font-family = "CaskaydiaMono Nerd Font"
|
||||||
|
|||||||
Reference in new issue
Block a user