From e8418c3d3781819925d9e6ce721695bdc3145386 Mon Sep 17 00:00:00 2001 From: Nameless Monarch Date: Sun, 12 Apr 2026 15:52:31 -0500 Subject: [PATCH] fix(theming): check nested starship config path before fallback --- Scripts/bash/template-apply.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Scripts/bash/template-apply.sh b/Scripts/bash/template-apply.sh index b2a924ea1..45e33bc07 100755 --- a/Scripts/bash/template-apply.sh +++ b/Scripts/bash/template-apply.sh @@ -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