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.
16 lines
362 B
Desktop File
16 lines
362 B
Desktop File
[Desktop Entry]
|
|
Version=1.0
|
|
Name=aerc
|
|
|
|
GenericName=Mail Client
|
|
GenericName[de]=Email Client
|
|
Comment=Launches the aerc email client
|
|
Comment[de]=Startet den aerc Email-Client
|
|
Keywords=Email,Mail,IMAP,SMTP
|
|
Categories=Office;Network;Email;ConsoleOnly
|
|
|
|
Type=Application
|
|
Icon=utilities-terminal
|
|
Terminal=false
|
|
Exec=aerc-in-terminal %u
|
|
MimeType=x-scheme-handler/mailto
|