jaromail

a commandline tool to easily and privately handle your e-mail
git clone git://parazyd.org/jaromail.git
Log | Files | Refs | Submodules | README

colors-solarized-dark-256 (11775B)


      1 # vim: filetype=muttrc
      2 
      3 #
      4 #
      5 # make sure that you are using mutt linked against slang, not ncurses, or
      6 # suffer the consequences of weird color issues. use "mutt -v" to check this.
      7 
      8 # custom body highlights -----------------------------------------------
      9 # highlight my name and other personally relevant strings
     10 #color body          color136        color234        "(ethan|schoonover)"
     11 # custom index highlights ----------------------------------------------
     12 # messages which mention my name in the body
     13 #color index         color136        color234        "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
     14 #color index         J_cream         color230        "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
     15 #color index         color136        color37         "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
     16 #color index         color136        J_magent        "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
     17 ## messages which are in reference to my mails
     18 #color index         J_magent        color234        "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
     19 #color index         J_magent        color230        "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
     20 #color index         J_magent        color37         "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
     21 #color index         J_magent        color160        "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
     22 
     23 # for background in 16 color terminal, valid background colors include:
     24 # base03, bg, black, any of the non brights
     25 
     26 # basic colors ---------------------------------------------------------
     27 color normal        color241        color234        
     28 color error         color160        color234        
     29 color tilde         color235        color234        
     30 color message       color37         color234        
     31 color markers       color160        color254        
     32 color attachment    color254        color234        
     33 color search        color61         color234        
     34 #color status        J_black         J_status        
     35 color status        color241        color235        
     36 color indicator     color234        color136        
     37 color tree          color136        color234                                    # arrow in threads
     38 
     39 # basic monocolor screen
     40 mono  bold          bold
     41 mono  underline     underline
     42 mono  indicator     reverse
     43 mono  error         bold
     44 
     45 # index ----------------------------------------------------------------
     46 
     47 #color index         color160        color234        "~D(!~p|~p)"               # deleted
     48 #color index         color235        color234        ~F                         # flagged
     49 #color index         color166        color234        ~=                         # duplicate messages
     50 #color index         color240        color234        "~A!~N!~T!~p!~Q!~F!~D!~P"  # the rest
     51 #color index         J_base          color234        "~A~N!~T!~p!~Q!~F!~D"      # the rest, new
     52 color index         color160        color234        "~A"                        # all messages
     53 color index         color166        color234        "~E"                        # expired messages
     54 color index         color33         color234        "~N"                        # new messages
     55 color index         color33         color234        "~O"                        # old messages
     56 color index         color61         color234        "~Q"                        # messages that have been replied to
     57 color index         color240        color234        "~R"                        # read messages
     58 color index         color33         color234        "~U"                        # unread messages
     59 color index         color33         color234        "~U~$"                      # unread, unreferenced messages
     60 color index         color241        color234        "~v"                        # messages part of a collapsed thread
     61 color index         color241        color234        "~P"                        # messages from me
     62 color index         color37         color234        "~p!~F"                     # messages to me
     63 color index         color37         color234        "~N~p!~F"                   # new messages to me
     64 color index         color37         color234        "~U~p!~F"                   # unread messages to me
     65 color index         color240        color234        "~R~p!~F"                   # messages to me
     66 color index         color160        color234        "~F"                        # flagged messages
     67 color index         color160        color234        "~F~p"                      # flagged messages to me
     68 color index         color160        color234        "~N~F"                      # new flagged messages
     69 color index         color160        color234        "~N~F~p"                    # new flagged messages to me
     70 color index         color160        color234        "~U~F~p"                    # new flagged messages to me
     71 color index         color235        color160        "~D"                        # deleted messages
     72 color index         color245        color234        "~v~(!~N)"                  # collapsed thread with no unread
     73 color index         color136        color234        "~v~(~N)"                   # collapsed thread with some unread
     74 color index         color64         color234        "~N~v~(~N)"                 # collapsed thread with unread parent
     75 # statusbg used to indicated flagged when foreground color shows other status
     76 # for collapsed thread
     77 color index         color160        color235        "~v~(~F)!~N"                # collapsed thread with flagged, no unread
     78 color index         color136        color235        "~v~(~F~N)"                 # collapsed thread with some unread & flagged
     79 color index         color64         color235        "~N~v~(~F~N)"               # collapsed thread with unread parent & flagged
     80 color index         color64         color235        "~N~v~(~F)"                 # collapsed thread with unread parent, no unread inside, but some flagged
     81 color index         color37         color235        "~v~(~p)"                   # collapsed thread with unread parent, no unread inside, some to me directly
     82 color index         color136        color160        "~v~(~D)"                   # thread with deleted (doesn't differentiate between all or partial)
     83 #color index         color136        color234        "~(~N)"                    # messages in threads with some unread
     84 #color index         color64         color234        "~S"                       # superseded messages
     85 #color index         color160        color234        "~T"                       # tagged messages
     86 #color index         color166        color160        "~="                       # duplicated messages
     87 
     88 # message headers ------------------------------------------------------
     89 
     90 #color header        color240        color234        "^"
     91 color hdrdefault    color240        color234        
     92 color header        color241        color234        "^(From)"
     93 color header        color33         color234        "^(Subject)"
     94 
     95 # body -----------------------------------------------------------------
     96 
     97 color quoted        color33         color234        
     98 color quoted1       color37         color234        
     99 color quoted2       color136        color234        
    100 color quoted3       color160        color234        
    101 color quoted4       color166        color234        
    102 
    103 color signature     color240        color234        
    104 color bold          color235        color234        
    105 color underline     color235        color234        
    106 color normal        color244        color234        
    107 #
    108 color body          color245        color234        "[;:][-o][)/(|]"    # emoticons
    109 color body          color245        color234        "[;:][)(|]"         # emoticons
    110 color body          color245        color234        "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
    111                                                      |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
    112                                                      |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
    113 color body          color245        color234        "[ ][*][^*]*[*][ ]?" # more emoticon?
    114 color body          color245        color234        "[ ]?[*][^*]*[*][ ]" # more emoticon?
    115 
    116 ## pgp
    117 
    118 color body          color160        color234        "(BAD signature)"
    119 color body          color37         color234        "(Good signature)"
    120 color body          color234        color234        "^gpg: Good signature .*"
    121 color body          color241        color234        "^gpg: "
    122 color body          color241        color160        "^gpg: BAD signature from.*"
    123 mono  body          bold                            "^gpg: Good signature"
    124 mono  body          bold                            "^gpg: BAD signature from.*"
    125 
    126 # yes, an insance URL regex
    127 color body          color160        color234        "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
    128 # and a heavy handed email regex
    129 #color body          J_magent        color234        "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
    130 
    131 # Various smilies and the like
    132 #color body          color230        color234        "<[Gg]>"                            # <g>
    133 #color body          color230        color234        "<[Bb][Gg]>"                        # <bg>
    134 #color body          color136        color234        " [;:]-*[})>{(<|]"                  # :-) etc...
    135 # *bold*
    136 #color body          color33         color234        "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
    137 #mono  body          bold                            "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
    138 # _underline_
    139 #color body          color33         color234        "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
    140 #mono  body          underline                       "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
    141 # /italic/  (Sometimes gets directory names)
    142 #color body         color33         color234        "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
    143 #mono body          underline                       "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
    144 
    145 # Border lines.
    146 #color body          color33         color234        "( *[-+=#*~_]){6,}"
    147 
    148 #folder-hook .                  "color status        J_black         J_status        "
    149 #folder-hook gmail/inbox        "color status        J_black         color136        "
    150 #folder-hook gmail/important    "color status        J_black         color136        "
    151