diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/aerc.conf | 8 | ||||
-rw-r--r-- | config/compose.go | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index adfa1e12..8b153ad8 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -338,6 +338,14 @@ header-layout=To|From,Subject # This parameter can also be set per account in accounts.conf. address-book-cmd= +# Specifies the command to be used to select attachments. Any occurence of '%s' +# in the file-picker-cmd will be replaced the argument <arg> to :attach -m +# <arg>. +# +# The command must output the selected files to standard output, one file per +# line. +file-picker-cmd= + # # Allow to address yourself when replying # diff --git a/config/compose.go b/config/compose.go index 31ee0a8b..f9c1ba90 100644 --- a/config/compose.go +++ b/config/compose.go @@ -14,6 +14,7 @@ type ComposeConfig struct { AddressBookCmd string `ini:"address-book-cmd"` ReplyToSelf bool `ini:"reply-to-self"` NoAttachmentWarning *regexp.Regexp `ini:"-"` + FilePickerCmd string `ini:"file-picker-cmd"` } func defaultComposeConfig() ComposeConfig { |