use bold text

This commit is contained in:
speedie 2023-04-14 13:28:33 +02:00
parent 9fd712c908
commit 8934327efe

View file

@ -66,7 +66,7 @@ list_profiles() {
profiles="$(find "${CONFDIR}/spmenu/profiles" -type f)"
profilec="$(find "${CONFDIR}/spmenu/profiles" -type f | wc -l)"
[ "$1" != "noopts" ] && [ -f "${CONFDIR}/spmenu/.profile" ] && printf "\033[1;33m%s\n" "Current profile: $(basename "$(cat "${CONFDIR}/spmenu/.profile")")" | sed "s/spmenurc/Default/g; s/NONE/None/g; s/example.Xresources/Default/g"
[ "$1" != "noopts" ] && [ -f "${CONFDIR}/spmenu/.profile" ] && printf "\033[1;33m<b>%s</b>\n" "Current profile: $(basename "$(cat "${CONFDIR}/spmenu/.profile")")" | sed "s/spmenurc/Default/g; s/NONE/None/g; s/example.Xresources/Default/g"
for i in $(seq "$profilec"); do
curprofile="$(basename "$(printf "%s" "$profiles" | sed "${i}q;d")")"
@ -77,7 +77,7 @@ list_profiles() {
}
list_ex_options() {
printf "\nNone\nDefault\nAdd\nRemove\n"
printf "\n<b>None</b>\n<b>Default</b>\n<b>Add</b>\n<b>Remove</b>\n"
}
main() {