# # aerc main configuration [ui] mouse-enabled=true new-message-bell=true [viewer] # # Specifies the pager to use when displaying emails. Note that some filters # may add ANSI codes to add color to rendered emails, so you may want to use a # pager which supports ANSI codes. # # Default: less -R pager=less -R [filters] # # Filters allow you to pipe an email body through a shell command to render # certain emails differently, e.g. highlighting them with ANSI escape codes. # # The first filter which matches the email's mimetype will be used, so order # them from most to least specific. # # You can also match on non-mimetypes, by prefixing with the header to match # against (non-case-sensitive) and a comma, e.g. subject,text will match a # subject which contains "text". Use header,~regex to match against a regex. # subject,~^\[PATCH=colordiff text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/' text/plain=awk -f ~/.config/aerc/filters/colorize text/html=pandoc -f html -t plain # image/*=catimg -w $(tput cols) - [triggers] new-email=exec notify-send "New email from %n" "%s" [compose::review] = :choose \ -o a approved "header X-Sourcehut-Patchset-Update APPROVED" \ -o R Rejected "header X-Sourcehut-Patchset-Update REJECTED" \ -o r needs-revision "header X-Sourcehut-Patchset-Update NEEDS_REVISION" \ -o s superseded "header X-Sourcehut-Patchset-Update SUPERSEDED" \ -o A Applied "header X-Sourcehut-Patchset-Update APPLIED" \