1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-24 00:52:29 +01:00
aerc/widgets
Jeffas dc4c36adbf Add new-email trigger
This patch sets up the trigger config section of aerc.conf.

Each trigger has its own function which is called from the place where
it is triggered. Currently only the new-email trigger is implemented.

The triggers make use of format strings. For instance, in the new-email
trigger this allows the user to select the trigger command and also the
information extracted from the command and placed into their command.

To actually execute the trigger commands the keypresses are simulated.

Further triggers can be implemented in the future.

Formatting of the command is moved to a new package.
2019-07-26 14:00:24 -04:00
..
account-wizard.go
account.go Add new-email trigger 2019-07-26 14:00:24 -04:00
aerc.go Add new-email trigger 2019-07-26 14:00:24 -04:00
compose.go
dirlist.go
exline.go
msglist.go Add new-email trigger 2019-07-26 14:00:24 -04:00
msgviewer.go
providesmessage.go
spinner.go
status.go
tabhost.go
terminal.go