On Wed, Feb 27, 2008 at 02:40:44PM +0100, Ingo Wardinski wrote:
> Hi all,
> I try to set a widget foreground color to differ from the default, i.e. 
> 
> WindowTitle     {Weather_applet}
> WindowSize      210 210
> WindowPosition        1038 634
> Colorset        12
> Widget                  1
> Property
>         Type            ItemDraw
>         Size            100 15
>         Position        71 82
>         Font            "shadow=0 se:xft:sans:size=7:antialias=True"
>         Flags           NoFocus NoReliefString Left
>         ForeColor       { orange }
> Main
> Case message of
>       SingleClic:
>       Begin
>               Quit
>       End
> End
> where the default is defined by coloset 9 
> Colorset 9 fg #ffffff, bg #f1eee0, hi #f1eee0, sh #f1eee0, fgsh #f1eee0, Tint 
> black 35, RootTransparent
> 
> However, fvwm(-2.5.23) is complaining: Cannot parse color " orange "
> What does that mean, and more generally, how can I set up a widget fg
> color differently from the default? 

notice that the script isn't striping out any spaces, the reason it can't find 
that color is because you have additional spaces. when it tries to find the 
color " orange " in the list it can't match it to anything.

What you want is ForeColor {orange}

jaimos

Reply via email to