summaryrefslogtreecommitdiff
path: root/settings.py
blob: 4839bfc9e3e28fe688994c45c146a13c018d047f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
editor_cmd = "/usr/bin/vim -f -c 'set filetype=mail' %s"
pager_cmd = "/usr/bin/view -f -c 'set filetype=mail' %s"
terminal_cmd = 'urxvt -T notmuch -e %s'
spawn_editor = True
spawn_pager = True

palette = [
    ('header', 'white', 'dark blue', 'bold', '#ffa', ''),
    ('footer', 'white', 'dark blue', 'bold', '', ''),
    ('prompt', 'light gray', 'black', '', 'g50', '#60a'),
    ('threadline', 'light gray', '', '', 'g50', '#60a'),
    ('threadline_focus', 'white', 'dark gray', '', '', ''),

    ('threadline_date', 'light gray', '', '', '', ''),
    ('threadline_mailcount', 'light gray', '', '', '', ''),
    ('threadline_tags', 'yellow', '', '', '', ''),
    ('threadline_authors', 'dark green', '', '', 'g50', '#60a'),
    ('threadline_subject', 'light gray', '', '', 'g50', '#60a'),
    ('threadline_date_linefocus', 'light gray', 'dark gray', '', '', ''),
    ('threadline_mailcount_linefocus', 'light gray', 'dark gray', '', '', ''),
    ('threadline_tags_linefocus', 'yellow,bold', 'dark gray', '', '', ''),
    ('threadline_authors_linefocus', 'dark green', 'dark gray', '', 'g50', '#60a'),
    ('threadline_subject_linefocus', 'light gray', 'dark gray', '', 'g50', '#60a'),

    ('messageline_even', 'white', 'light blue', '', '#ffa', '#60d'),
    ('messageline_odd', 'white', 'dark blue', '', '#ffa', '#60d'),
    ('message_header', 'white', 'dark gray', '', '#ffa', '#60d'),
    ('message_body', 'light gray', 'black', '', '#ffa', '#60d'),
    ('bufferlist_results_even', 'light gray', 'black', '', 'g50', '#60a'),
    ('bufferlist_results_odd', 'light gray', 'black', '', 'g38', '#808'),
    ('bufferlist_focus', 'white', 'dark gray', '', '#ffa', '#60d'),
]
displayed_headers = [
        'From',
        'To',
        'Cc',
        'Bcc',
        'Subject'
        ]

authors_maxlength = 30


hooks = {
        'pre-shutdown': lambda ui: ui.logger.info('goodbye!'),
        }