l mail: use faster index_format
This commit is contained in:
parent
68acc01108
commit
db7da0a5d5
@ -144,15 +144,7 @@ let
|
|||||||
|
|
||||||
set sort=threads
|
set sort=threads
|
||||||
|
|
||||||
set index_format="${pkgs.writeDash "mutt-index" ''
|
set index_format="%4C %Z %?GI?%GI& ? %[%y-%m-%d] %-20.20a %?M?(%3M)& ? %s %> %r %g"
|
||||||
# http://www.mutt.org/doc/manual/#formatstrings
|
|
||||||
recipent="$(echo $1 | sed 's/[^,]*<\([^>]*\)[^,]*/ \1/g')"
|
|
||||||
# output to mutt
|
|
||||||
# V
|
|
||||||
echo "%4C %Z %?GI?%GI& ? %[%y-%m-%d] %-20.20a %?M?(%3M)& ? %s %> $recipent %?g?%g?%"
|
|
||||||
# args to mutt-index dash script
|
|
||||||
# V
|
|
||||||
''} %r |"
|
|
||||||
|
|
||||||
virtual-mailboxes "Unread" "notmuch://?query=tag:unread"
|
virtual-mailboxes "Unread" "notmuch://?query=tag:unread"
|
||||||
virtual-mailboxes "INBOX" "notmuch://?query=tag:inbox"
|
virtual-mailboxes "INBOX" "notmuch://?query=tag:inbox"
|
||||||
|
Loading…
Reference in New Issue
Block a user