Lowercase theme name in omarchy-theme-install to match omarchy-theme-set (#5392)

This commit is contained in:
James Maina
2026-04-22 22:06:54 +02:00
committed by GitHub
parent 826d9f4e2f
commit f9f08580df
+1 -1
View File
@@ -15,7 +15,7 @@ if [[ -z $REPO_URL ]]; then
fi
THEMES_DIR="$HOME/.config/omarchy/themes"
THEME_NAME=$(basename "$REPO_URL" .git | sed -E 's/^omarchy-//; s/-theme$//')
THEME_NAME=$(basename "$REPO_URL" .git | sed -E 's/^omarchy-//; s/-theme$//' | tr '[:upper:]' '[:lower:]')
THEME_PATH="$THEMES_DIR/$THEME_NAME"
# Remove existing theme if present