dotfiles/office/.local/bin/aerc-in-terminal
Marty Oehme 926aee71e8
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.
2025-09-24 10:36:36 +02:00

3 lines
132 B
Bash
Executable file

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