small fix for theme-remove menu selection items (#505)

This commit is contained in:
adcv 2025-08-06 13:49:46 +02:00 committed by GitHub
parent 180dc7c9b5
commit 8002586392
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,8 @@ if [ -z "$1" ]; then
extra_themes=$(find ~/.config/omarchy/themes -mindepth 1 -maxdepth 1 -type d ! -xtype l -printf '%f\n')
if [[ -n "$extra_themes" ]]; then
THEME_NAME=$(gum choose --header="Remove extra theme" "$extra_themes")
# THEME_NAME=$(gum choose --header="Remove extra theme" "$extra_themes")
THEME_NAME=$(echo -e "$extra_themes" | gum choose --header="Remove extra theme")
else
echo "No extra themes installed."
exit 1