summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-27 10:50:42 +0100
committerErich Eckner <git@eckner.net>2020-01-27 10:50:56 +0100
commitc43729227545e0fcfa4470c544f2fbc9c1c9cf28 (patch)
treefad02e595a7712b755e4fc359597d83d30783474
parent92dc8fc7a26237ce263b9572d58f82847e649fa6 (diff)
downloadansi-color-to-conky-color-c43729227545e0fcfa4470c544f2fbc9c1c9cf28.tar.xz
ansi-color-to-conky-color: colored, bold fontsHEADmaster
-rwxr-xr-xansi-color-to-conky-color3
1 files changed, 3 insertions, 0 deletions
diff --git a/ansi-color-to-conky-color b/ansi-color-to-conky-color
index 425b42f..3c3bc4d 100755
--- a/ansi-color-to-conky-color
+++ b/ansi-color-to-conky-color
@@ -18,6 +18,9 @@ sed '
printf 's@\\x1b\\[\\(0;\\)\\?%sm@${font}${color %s}@g\n' \
"${code}" \
"${color}"
+ printf 's@\\x1b\\[0*1;%sm@${font '"${font}"':style=bold}${color %s}@g\n' \
+ "${code}" \
+ "${color}"
done \
<"${0%/*}/colors"
)"