Don't color theme list
This commit is contained in:
parent
389aff7684
commit
45629e666e
|
@ -57,9 +57,9 @@ print_theme_list_t() {
|
||||||
file="$(basename "$l")"
|
file="$(basename "$l")"
|
||||||
printf "%s" "$l" | grep -qE "[.]desc|[.]png" && continue
|
printf "%s" "$l" | grep -qE "[.]desc|[.]png" && continue
|
||||||
if [ -f "${l}.png" ] && [ "$ENABLE_IMAGE_PREVIEW" = "true" ]; then
|
if [ -f "${l}.png" ] && [ "$ENABLE_IMAGE_PREVIEW" = "true" ]; then
|
||||||
printf "img://%s\t%b%s\n" "${l}.png" "\033[0;35m" "${file}"
|
printf "img://%s\t%s\n" "${l}.png" "${file}"
|
||||||
else
|
else
|
||||||
printf "%b%s\n" "\033[0;35m" "${file}"
|
printf "%s\n" "${file}"
|
||||||
fi
|
fi
|
||||||
done < "/tmp/list"; rm -f /tmp/list
|
done < "/tmp/list"; rm -f /tmp/list
|
||||||
fi
|
fi
|
||||||
|
@ -210,7 +210,7 @@ get_l_repo() {
|
||||||
|
|
||||||
cd "${REPO_DIR}" || exit 1
|
cd "${REPO_DIR}" || exit 1
|
||||||
|
|
||||||
title_text="No title provided."
|
title_text="$(basename "$tx")"
|
||||||
desc_text="No description provided."
|
desc_text="No description provided."
|
||||||
author_text="No author provided."
|
author_text="No author provided."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue