diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-07-16 19:11:32 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-07-16 19:11:32 +0000 |
commit | f20bf2dd0b3a48191cec442df982185280b764b9 (patch) | |
tree | 0a61680038624a5ec96d2479191efa32b336f7be /README | |
parent | 156afa81bd0e68d856cb29802426f5cfa7e6e616 (diff) | |
download | dzen-f20bf2dd0b3a48191cec442df982185280b764b9.tar.gz dzen-f20bf2dd0b3a48191cec442df982185280b764b9.zip |
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
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |