[Xmonad] darcs patch: WindowNavigation: add configurable colors and the poss...

Andrea Rossato mailing_list at istitutocolli.org
Wed Oct 3 13:14:43 EDT 2007


On Wed, Oct 03, 2007 at 06:11:37AM -0700, David Roundy wrote:
> muted red would be reasonable.  Even better would be an automatic weighted
> average of borderNormal and borderFocussed (as the default).  This would
> require something like:
> 
> data WNConfig = 
>     WNC { showNavigable :: Bool
>         , averageFocusAndNormal :: Double
[...]
> 
> Note that this average idea could be tricky.  If both colors are of the
> form "#00ff00", then it's easy, we convert to three Ints and back.
> Otherwise, I think we'd have to involve X to compute the color values, and
> I'm not sure how to do that.

I don't thin I've already understood this weighted average stuff but
it sounds cool and I'll try to implement it. Actually I'm going to put
it on my TODO list... the best I can do right now.

> 
> I was also thinking that a couple of exported WNConfigs would be handy:

The rest of you requests seem very useful to me to and I'm going to
send a patch soon.

Andrea



More information about the Xmonad mailing list