aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-07-17 14:31:20 +0200
committerRobin Jarry <robin@jarry.cc>2023-08-04 23:16:29 +0200
commitd5210acf092f3c3346c363dbe3ce5ca899fb5a24 (patch)
treeb84228cdb3ff6dbe914a4eae788fbaa9e93dca3e /config/aerc.conf
parent24eab0f5ef6324b00717997f671cf1d13317bd5c (diff)
downloadaerc-d5210acf092f3c3346c363dbe3ce5ca899fb5a24.tar.gz
hooks: add account and folder to mail-received env
Add AERC_ACCOUNT and AERC_FOLDER to the environment of the mail-received hook command. Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Tristan Partin <tristan@partin.io>
Diffstat (limited to 'config/aerc.conf')
-rw-r--r--config/aerc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index d195563b..79a3936a 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -540,7 +540,7 @@ message/rfc822=colorize
#
# Executed when a new email arrives in the selected folder
-#mail-received=notify-send "New mail from $AERC_FROM_NAME" "$AERC_SUBJECT"
+#mail-received=notify-send "[$AERC_ACCOUNT/$AERC_FOLDER] New mail from $AERC_FROM_NAME" "$AERC_SUBJECT"
#
# Executed when aerc starts