mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-10 04:20:34 +00:00
Ensure a default theme is used if none exist
This commit is contained in:
@@ -3,5 +3,12 @@
|
|||||||
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") 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
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user