aerc.conf (3312B)
1 # 2 # aerc main configuration 3 4 [ui] 5 # 6 # Describes the format for each row in a mailbox view. This field is compatible 7 # with mutt's printf-like syntax. 8 # 9 # Default: 10 index-format=%D %-17.17n %s 11 12 # 13 # See time.Time#Format at https://godoc.org/time#Time.Format 14 # 15 # Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time) 16 timestamp-format=2006-01-02 03:04 PM 17 18 # 19 # Width of the sidebar, including the border. 20 # 21 # Default: 20 22 sidebar-width=20 23 24 # 25 # Message to display when viewing an empty folder. 26 # 27 # Default: (no messages) 28 empty-message=(no messages) 29 30 # Message to display when no folders exists or are all filtered 31 # 32 # Default: (no folders) 33 empty-dirlist=(no folders) 34 35 # Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel 36 # 37 # Default: false 38 mouse-enabled=false 39 40 # 41 # Ring the bell when new messages are received 42 # 43 # Default: yes 44 new-message-bell=true 45 46 [viewer] 47 # 48 # Specifies the pager to use when displaying emails. Note that some filters 49 # may add ANSI codes to add color to rendered emails, so you may want to use a 50 # pager which supports ANSI codes. 51 # 52 # Default: less -R 53 pager=less -R 54 55 # 56 # If an email offers several versions (multipart), you can configure which 57 # mimetype to prefer. For example, this can be used to prefer plaintext over 58 # html emails. 59 # 60 # Default: text/plain,text/html 61 alternatives=text/plain,text/html 62 63 # 64 # Default setting to determine whether to show full headers or only parsed 65 # ones in message viewer. 66 # 67 # Default: false 68 show-headers=false 69 70 # 71 # Layout of headers when viewing a message. To display multiple headers in the 72 # same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if 73 # none of their specified headers are present in the message. 74 # 75 # Default: From|To,Cc|Bcc,Date,Subject 76 header-layout=From|To,Cc|Bcc,Date,Subject 77 78 # Whether to always show the mimetype of an email, even when it is just a single part 79 # 80 # Default: false 81 always-show-mime=false 82 83 [compose] 84 # 85 # Specifies the command to run the editor with. It will be shown in an embedded 86 # terminal, though it may also launch a graphical window if the environment 87 # supports it. Defaults to $EDITOR, or vi. 88 editor= 89 90 # 91 # Default header fields to display when composing a message. To display 92 # multiple headers in the same row, separate them with a pipe, e.g. "To|From". 93 # 94 # Default: To|From,Subject 95 header-layout=To|From,Subject 96 97 [filters] 98 # 99 # Filters allow you to pipe an email body through a shell command to render 100 # certain emails differently, e.g. highlighting them with ANSI escape codes. 101 # 102 # The first filter which matches the email's mimetype will be used, so order 103 # them from most to least specific. 104 # 105 # You can also match on non-mimetypes, by prefixing with the header to match 106 # against (non-case-sensitive) and a comma, e.g. subject,text will match a 107 # subject which contains "text". Use header,~regex to match against a regex. 108 subject,~^\[PATCH=awk -f @SHAREDIR@/filters/hldiff 109 #text/html=/nix/store/hpz653y24p99x21wvrrch16r9lgvgpic-aerc-0.2.1/share/aerc/filters/html 110 text/*=awk -f @SHAREDIR@/filters/plaintext 111 #image/*=catimg -w $(tput cols) - 112 113 [triggers] 114 # 115 # Triggers specify commands to execute when certain events occur. 116 # 117 # Example: 118 # new-email=exec notify-send "New email from %n" "%s"<Enter> 119 120 # 121 # Executed when a new email arrives in the selected folder 122 new-email=