mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Ensure a default theme is used if none exist
This commit is contained in:
@@ -3,5 +3,12 @@
|
||||
case "$TERMINAL" in
|
||||
"alacritty") touch ~/.config/alacritty/alacritty.toml ;;
|
||||
"kitty") killall -SIGUSR1 kitty ;;
|
||||
"ghostty") killall -USRSIG2 ghostty ;;
|
||||
"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
|
||||
|
||||
Reference in New Issue
Block a user