Filters:Coloring

From BarnOwl

Jump to: navigation, search

Once you've started setting up filters to organize your zephyrs, you might also want to take advantage of barnowl's ability to color your zephyrs based on which filter or filters they match. Coloring zephyrs differently according to different filters can make it easier to see what classes are active at a given time at a glance, and make it easier to read through zephyrs to a particular filter without having to narrow the view down to just that filter.

So, building off the example from Filters:Organizing,

#categories
##friends
filter friends class friend1 or class friend2 or class friend3
##activities
filter activities class club1 or class club2 or class club3

#short names 
filter a filter activities -c red
filter f filter friends -c blue

We've now added "-c red" and "-c blue" to the lines where we've assigned short names to our filters. With these filters in place, the text of the zephyrs to the classes in the activities filter will be colored red, and the text of the zephyrs to the classes in the friends filter will be colored blue.

Barnowl can also set the background color of zephyr messages, independently of the color of the text. To set the background color for a filter, just use the "-b COLOR", like so.

filter chat -b cyan class talking or class babble or class beige-chicanery

Background and foreground colors can be set at the same time, too:

filter news -c black -b white class headlines or class alert or class gossip

In all, there are 72 combinations of foreground and background colors supported in barnowl, and you can get a list of them here: 72-color-combinations

Personal tools