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.
3 lines
132 B
Bash
Executable file
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 "$@"
|