fix(theming): check nested starship config path before fallback

This commit is contained in:
Nameless Monarch
2026-04-12 15:52:31 -05:00
parent 95f56e1f62
commit e8418c3d37
+7 -2
View File
@@ -535,8 +535,13 @@ zathura)
;;
starship)
PALETTE_FILE="$HOME/.cache/noctalia/starship-palette.toml"
CONFIG_FILE="$HOME/.config/starship.toml"
# Check if the nested starship config exists first
if [ -f "$HOME/.config/starship/starship.toml" ]; then
CONFIG_FILE="$HOME/.config/starship/starship.toml"
else
# Fallback to the default path
CONFIG_FILE="$HOME/.config/starship.toml"
fi
# Check if the generated palette file exists
if [ ! -f "$PALETTE_FILE" ]; then