Content-type: text/html Manpage of fbcolor

fbcolor

Section: Misc. Reference Manual Pages (Januar 22, 2004)
Updated:
Index Return to Main Contents

 

ABOUT

fbcolor - create colorflavours of fluxboxstyles  

SYNOPSIS


$ cat ifile | fbcolor [-ecthHv] > ofile
 

OPTIONS

-h
display this help
-H
display detailed usageinformation
-v
prints the version
-t file
using a mapfile to turn tags into colors
-c file
using a mapfile to turn colors into tags
-e
extract colors from a stylefile an create a mapfile

 

DESCRIPTION

fbcolor is a small and handy (hopefully) tool to create different colored flavours of a fluxbox-style.

basic idea is not to use real colors in the stylefile (#rrggbb or grey60 or whatever) but TAGS. then one creates a MAPFILE which references the TAGS to realcolors and use this MAPFILE in combination with the TAGGED stylefile to create the real stylefile.

1.step: create the MAPFILE

    its not a _rule_ to create the MAPFILE first and the
    tagged stylefile later. you can built them simultaneously
    or even create the MAPFILE from already built styles
    (see 2.step). a mapfile looks like:

    @FONTS@          #000000
    @MASTER@         #222244
    @COLOR1@         #444455
    @COLOR2@         blue4

    ATTENTION: the @ is essential !!!

2.step: create the TAGGED stylefile

    just use @YOURTAG@ ...whatever to mark different colors, eg

    menu.title.color:               @TITLECOLOR@
    window.title.focus.colorTo:     @COLORTO@

    ATTENTION: the @ is essential !!!

    to create a tagged stylefile from an normal stylefile
    one has to do the following:

      1. cat style | fbcolor -e > style.map
      2. cat style.map | fbcolor -t style > style.tagged

    thats it. one can then copy and modify this mapfile
    as normal

3.step: create the final style

    now one uses the generated mapfiles and creates all
    the nice flavours of a style one wants to. thats easy:

     shell$> cat style.map | fbcolor -c style.tagged > newstyle

and thats it too :)
 

BUGS

not yet known  

AUTHOR

mathias gumz <gumz@cs.uni-magdeburg.de>


 

Index

ABOUT
SYNOPSIS
OPTIONS
DESCRIPTION
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 15:46:15 GMT, January 22, 2004