| | 65 | == Colors == |
| | 66 | |
| | 67 | Every filter can have a color associated with it. Messages matching |
| | 68 | the filter will then be displayed in that color if your terminal |
| | 69 | supports it. The color for a filter can be set by using the '-c' |
| | 70 | option to the filter command. For example: |
| | 71 | |
| | 72 | {{{ filter personal -c white}}} |
| | 73 | |
| | 74 | This cause all messages in the 'personal' filter to be displayed in |
| | 75 | white. Colors can also be set when defining a new filter: |
| | 76 | |
| | 77 | {{{ filter mail -c red class ^mail$ }}} |
| | 78 | |
| | 79 | Barnowl can also set the background color of zephyr messages, independently of the color of the text. |
| | 80 | To set the background color for a filter, just use the '-b' option to the filter command. |
| | 81 | You can produce a list of the colors available to Owl with the |
| | 82 | command: |
| | 83 | |
| | 84 | {{{ show colors}}} |
| | 85 | |
| | 86 | If a message matches more than one filter it will be displayed in the |
| | 87 | color specified in the last filter listed in the 'show filters' |
| | 88 | command. |
| | 89 | |