diff options
-rwxr-xr-x | ansi-color-to-conky-color | 6 |
1 files 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 \ |