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"

Assigned to
1 year, 4 months ago
1 year, 2 months ago

~rjarry 1 year, 4 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, 4 months ago

See #136.

~poldi1405 REPORTED DUPLICATE 1 year, 3 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

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, 2 months ago

Moritz Poldrack referenced this ticket in commit f10b184.

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