Created
March 11, 2014 13:10
-
-
Save stemid/9485282 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example: sudo tail -F /var/log/maillog|grep -E '(stat=|CLEAN|Blocked SPAM)'|colout -T ~/.colout -t maillog | |
# By Stefan Midjich | |
def theme(): | |
bright_black = '#002b36' | |
black = '#073642' | |
bright_green = '#586e75' | |
bright_yellow = '#657b83' | |
bright_blue = '#839496' | |
bright_cyan = '#93a1a1' | |
white = '#eee8d5' | |
bright_white = '#fdf6e3' | |
yellow = '#b58900' | |
orange = '#cb4b16' | |
red = '#dc322f' | |
magenta = '#d33682' | |
violet = '#6c71c4' | |
blue = '#268bd2' | |
cyan = '#2aa198' | |
green = '#859900' | |
return [ | |
[ "(.+) (stat=Sent) (.+)", green ], | |
[ "stat=Reject", yellow ], | |
[ "stat=queued", red ], | |
[ "Blocked SPAM", red ], | |
[ "CLEAN", green ] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment