Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hooks: add account and folder to mail-received env | Robin Jarry | 2023-08-04 | 1 | -0/+4 |
| | | | | | | | | 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> | ||||
* | config: replace triggers with hooks | Moritz Poldrack | 2023-04-01 | 1 | -0/+25 |
Deprecate triggers and replace them with hooks. Now that aerc supports running arbitrary ex commands over IPC, it is possible to run internal aerc commands *and* shell commands via external shell scripts. Hooks only allow running shell commands. Hooks info is passed via environment variables. Implements: https://todo.sr.ht/~rjarry/aerc/136 Signed-off-by: Moritz Poldrack <git@moritz.sh> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> |