aerc: Enable mailto functionality for aerc

Explanation here:
https://man.sr.ht/~rjarry/aerc/configurations/mailto.md

I built a custom script 'aerc-in-terminal' since I want to expand the
$TERMINAL env var and use that instead. `.desktop` files do not allow
expanding vars (since they don't run in a user shell), so this is a
compromise.
This commit is contained in:
Marty Oehme 2025-09-21 15:59:09 +02:00
parent b4f5ad2e34
commit 926aee71e8
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
# If the user has set $TERMINAL, use it, otherwise fall back to foot.
exec "${TERMINAL:-foot}" -e --class float aerc "$@"