From f20bf2dd0b3a48191cec442df982185280b764b9 Mon Sep 17 00:00:00 2001 From: gotmor Date: Mon, 16 Jul 2007 19:11:32 +0000 Subject: added support to color arbitrary parts of text code needs testing git-svn-id: http://dzen.googlecode.com/svn/trunk@124 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- README | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'README') diff --git a/README b/README index ce16e39..62dadc1 100644 --- a/README +++ b/README @@ -380,17 +380,18 @@ The input must be in the following format: * Setting only the foreground color: - ^#rrggbbThe text to colorize + ^fg(red)I'm red text ^fg(blue)I am blue - * Setting foreground and background color: + * Setting foreground and/or background colors: - ^#rrggbb^#rrggbbThe text to colorize + ^bg(#ffaaaa)The ^fg(yellow)text to ^bg(blue)^fg(orange)colorize -An example: - echo "^#ffffff^#000000I am white text on black background" | dzen2 -p + * If you need to print '^^' characters double them in order to escape them + from being interpreted + ^fg(grey70)Some text containing ^^ characters -- cgit v1.2.3-54-g00ecf