From b4463015b97912658d630377fafbf630f7588d1e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 21 May 2025 22:01:35 -0500 Subject: moving arch dotfiles into archsetup --- .../share/applications/emacsclient-mail.desktop | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dotfiles/system/.local/share/applications/emacsclient-mail.desktop (limited to 'dotfiles/system/.local/share/applications/emacsclient-mail.desktop') diff --git a/dotfiles/system/.local/share/applications/emacsclient-mail.desktop b/dotfiles/system/.local/share/applications/emacsclient-mail.desktop new file mode 100644 index 0000000..6efcf61 --- /dev/null +++ b/dotfiles/system/.local/share/applications/emacsclient-mail.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Categories=Network;Email; +Comment=Emacs is my mail client +Exec=sh -c "exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\\\(message-mailto\\\\ \\\\\\"%u\\\\\\"\\\\)" +Icon=emacs +Name=Emacs (Mail, Client) +MimeType=x-scheme-handler/mailto; +NoDisplay=true +Terminal=false +Type=Application +Keywords=emacsclient; +Actions=new-window;new-instance; + +[Desktop Action new-window] +Name=New Window +Exec=/usr/bin/emacsclient --alternate-editor= --create-frame --eval "(message-mailto \\"%u\\")" + +[Desktop Action new-instance] +Name=New Instance +Exec=emacs -f message-mailto %u -- cgit v1.2.3