Zirconcolors: Color generator for zircon

This page lives at: http://colas.nahaboo.net/zirconcolors

Problem

Zircon Is a tcl/tk IRC client (a worldwide "chat" or "instant messaging" system), having the unique possibility to customize the text attributes (colors, fonts) of messages based on the sender. This makes it very useful for people who, like me, mainly use IRC to chat with a close community of people.

However, customizing messages colors in zircon is cumbersome, as it is done by hand in a X ressource file, that, due to a Tk bad design, must be loaded by xrdb, and cannot be just loaded directly from the file.

Solution

Thus I designed zirconcolors, a set of modifications to zircon that:

Ziconcolors

Download: Install: Then, to update colors, just modify the ~/.zircon/colors files, and re-run zircon.

Manual

zirconcolors -help
USAGE: zirconcolors 

Takes a description of user colors in ~/.zircon/colors and generates color
ressources in ~/.zircon/zircon.ad ~/.zircon/zircon.ad should contain the X
ressources used by zircon that you would normally put in your ~/.Xdefaults,
zirconcolors will add its generated ressources at the end.

The color file consists of line of the form:
    # comments
    color: nicknames                    set nicknames to use color
    background: rrggbb                  set background color of page
    increment: n                        set H increment between colors
where color can be:
    rrggbb
    #rrggbb
    %hhssvv
    colorname
    + or - to specify next tint in HSV space with increment (default 10/255)
        from previous color
        (you can specify the increment, e.g: +23 or -7)
    =xx sets hsv tint (H), keeps SV from previous value (in hex)
nicknames with 1 2 3 and _ __ appended are also used, case insensitive.
An html page is generated as ~/.zircon/colors.html to preview the chosen colors
Options:
    -v   verbose
    -i num   increment of HUE (HSV) between colors by +/_. default: 10
    -bg bgcolor   the background color in rrggbb form

Back to Colas Nahaboo hacks page Back to Colas Nahaboo home page