From 92dc8fc7a26237ce263b9572d58f82847e649fa6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 27 Jan 2020 10:50:29 +0100 Subject: ansi-color-to-conky-color: less spaces --- ansi-color-to-conky-color | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansi-color-to-conky-color b/ansi-color-to-conky-color index 6c40e30..425b42f 100755 --- a/ansi-color-to-conky-color +++ b/ansi-color-to-conky-color @@ -11,11 +11,11 @@ font=$( ) sed ' - s@\x1b\[0m@ ${color}${font}@g - s@\x1b\[1m@ ${font '"${font}"':style=bold}@g + s@\x1b\[0m@${font}${color}@g + s@\x1b\[1m@${font '"${font}"':style=bold}@g '"$( while read -r code color; do - printf 's@\\x1b\\[\\(0;\\)\\?%sm@ ${color %s}@g\n' \ + printf 's@\\x1b\\[\\(0;\\)\\?%sm@${font}${color %s}@g\n' \ "${code}" \ "${color}" done \ -- cgit v1.2.3-70-g09d2