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-light-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        color233        "(ethan|schoonover)"
     11 # custom index highlights ----------------------------------------------
     12 # messages which mention my name in the body
     13 #color index         color136        color233        "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
     14 #color index         J_cream         color233        "~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        color233        "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
     19 #color index         J_magent        color233        "~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        color244        color233        
     28 color error         color160        color233        
     29 color tilde         color254        color233        
     30 color message       color37         color233        
     31 color markers       color160        color234        
     32 color attachment    color234        color233        
     33 color search        color61         color233        
     34 #color status        J_black         J_status        
     35 color status        color244        color254        
     36 color indicator     color230        color136        
     37 color tree          color136        color233                                    # 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        color233        "~D(!~p|~p)"               # deleted
     48 #color index         color254        color233        ~F                         # flagged
     49 #color index         color166        color233        ~=                         # duplicate messages
     50 #color index         color245        color233        "~A!~N!~T!~p!~Q!~F!~D!~P"  # the rest
     51 #color index         J_base          color233        "~A~N!~T!~p!~Q!~F!~D"      # the rest, new
     52 color index         color160        color233        "~A"                        # all messages
     53 color index         color166        color233        "~E"                        # expired messages
     54 color index         color33         color233        "~N"                        # new messages
     55 color index         color33         color233        "~O"                        # old messages
     56 color index         color61         color233        "~Q"                        # messages that have been replied to
     57 color index         color245        color233        "~R"                        # read messages
     58 color index         color33         color233        "~U"                        # unread messages
     59 color index         color33         color233        "~U~$"                      # unread, unreferenced messages
     60 color index         color244        color233        "~v"                        # messages part of a collapsed thread
     61 color index         color244        color233        "~P"                        # messages from me
     62 color index         color37         color233        "~p!~F"                     # messages to me
     63 color index         color37         color233        "~N~p!~F"                   # new messages to me
     64 color index         color37         color233        "~U~p!~F"                   # unread messages to me
     65 color index         color245        color233        "~R~p!~F"                   # messages to me
     66 color index         color160        color233        "~F"                        # flagged messages
     67 color index         color160        color233        "~F~p"                      # flagged messages to me
     68 color index         color160        color233        "~N~F"                      # new flagged messages
     69 color index         color160        color233        "~N~F~p"                    # new flagged messages to me
     70 color index         color160        color233        "~U~F~p"                    # new flagged messages to me
     71 color index         color254        color160        "~D"                        # deleted messages
     72 color index         color239        color233        "~v~(!~N)"                  # collapsed thread with no unread
     73 color index         color136        color233        "~v~(~N)"                   # collapsed thread with some unread
     74 color index         color64         color233        "~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        color254        "~v~(~F)!~N"                # collapsed thread with flagged, no unread
     78 color index         color136        color254        "~v~(~F~N)"                 # collapsed thread with some unread & flagged
     79 color index         color64         color254        "~N~v~(~F~N)"               # collapsed thread with unread parent & flagged
     80 color index         color64         color254        "~N~v~(~F)"                 # collapsed thread with unread parent, no unread inside, but some flagged
     81 color index         color37         color254        "~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        color233        "~(~N)"                    # messages in threads with some unread
     84 #color index         color64         color233        "~S"                       # superseded messages
     85 #color index         color160        color233        "~T"                       # tagged messages
     86 #color index         color166        color160        "~="                       # duplicated messages
     87 
     88 # message headers ------------------------------------------------------
     89 
     90 #color header        color245        color233        "^"
     91 color hdrdefault    color245        color233        
     92 color header        color244        color233        "^(From)"
     93 color header        color33         color233        "^(Subject)"
     94 
     95 # body -----------------------------------------------------------------
     96 
     97 color quoted        color33         color233        
     98 color quoted1       color37         color233        
     99 color quoted2       color136        color233        
    100 color quoted3       color160        color233        
    101 color quoted4       color166        color233        
    102 
    103 color signature     color245        color233        
    104 color bold          color254        color233        
    105 color underline     color254        color233        
    106 color normal        color240        color233        
    107 #
    108 color body          color239        color233        "[;:][-o][)/(|]"    # emoticons
    109 color body          color239        color233        "[;:][)(|]"         # emoticons
    110 color body          color239        color233        "[*]?((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          color239        color233        "[ ][*][^*]*[*][ ]?" # more emoticon?
    114 color body          color239        color233        "[ ]?[*][^*]*[*][ ]" # more emoticon?
    115 
    116 ## pgp
    117 
    118 color body          color160        color233        "(BAD signature)"
    119 color body          color37         color233        "(Good signature)"
    120 color body          color230        color233        "^gpg: Good signature .*"
    121 color body          color244        color233        "^gpg: "
    122 color body          color244        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        color233        "([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        color233        "((@(([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          color233        color233        "<[Gg]>"                            # <g>
    133 #color body          color233        color233        "<[Bb][Gg]>"                        # <bg>
    134 #color body          color136        color233        " [;:]-*[})>{(<|]"                  # :-) etc...
    135 # *bold*
    136 #color body          color33         color233        "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
    137 #mono  body          bold                            "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
    138 # _underline_
    139 #color body          color33         color233        "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
    140 #mono  body          underline                       "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
    141 # /italic/  (Sometimes gets directory names)
    142 #color body         color33         color233        "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
    143 #mono body          underline                       "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
    144 
    145 # Border lines.
    146 #color body          color33         color233        "( *[-+=#*~_]){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