~rjarry/aerc#139: 
Execute keystrokes on startup

Want a config option to execute a series of keystrokes on startup.

Use-case is to automatically open a terminal tab running a TUI calendaring program by setting this value to "program-name"

Status
RESOLVED DUPLICATE
Submitter
~sircmpwn
Assigned to
No-one
Submitted
1 year, 11 months ago
Updated
1 year, 10 months ago
Labels
feature

~rjarry 1 year, 11 months ago

We will support this but probably not via "keystrokes on startup".

There is work in progress to allow executing arbitrary aerc commands via shell scripts (think swaymsg scratchpad show).

Also, we want to replace the current new-email trigger by a hooks system (a la git) that can execute shell commands. There will be a startup hook where you can tune whatever you want. I don't want to hard commit on a date but I think you can expect this for next release (0.15).

~rjarry 1 year, 11 months ago

See #136.

~poldi1405 REPORTED DUPLICATE 1 year, 10 months ago*

Since the functionality can and will be implemented with the aerc-startup hook, I'll mark this as a duplicate. This can be achieved with

[hooks]
aerc-startup = "aerc :terminal calcurse && aerc :next-tab"

It is already possible to do this using the commands as a standalone. Due to it's low complexity, aerc-startup will likely be among the first hooks to be implemented.

~rjarry 1 year, 10 months ago

Moritz Poldrack referenced this ticket in commit f10b184.

Register here or Log in to comment, or comment via email.