summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorLucas Hoffmann <lucc@posteo.de>2018-09-30 17:20:24 +0200
committerPatrick Totzke <patricktotzke@gmail.com>2018-09-30 19:20:46 +0100
commit50f80e9e06d7a7c2d4fc405f2c6cb3622cd3148a (patch)
treed96b6d614c9b9c32601cf20190cc6babeecdbdd0 /extra
parent5b00a4ecd30d21ceeebb16eefbed4c48cfe3ba4a (diff)
Use different desktop file for menus and mailto: links
The handling of mailto links need not be presented in desktop menus and the entry in desktop menus on the other hand should not use the compose subcommand but the normal initial_command. Documentation of the Keys is at https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html#recognized-keys
Diffstat (limited to 'extra')
-rw-r--r--extra/alot-mailto.desktop10
-rw-r--r--extra/alot.desktop3
2 files changed, 11 insertions, 2 deletions
diff --git a/extra/alot-mailto.desktop b/extra/alot-mailto.desktop
new file mode 100644
index 00000000..ca62c554
--- /dev/null
+++ b/extra/alot-mailto.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=alot
+Categories=Office;Email;ConsoleOnly;
+GenericName=Email client
+Comment=Terminal MUA using notmuch mail
+Exec=alot compose %u
+Terminal=true
+Type=Application
+MimeType=x-scheme-handler/mailto;
+NoDisplay=true
diff --git a/extra/alot.desktop b/extra/alot.desktop
index b94e7b9c..b7c445a3 100644
--- a/extra/alot.desktop
+++ b/extra/alot.desktop
@@ -3,7 +3,6 @@ Name=alot
Categories=Office;Email;ConsoleOnly;
GenericName=Email client
Comment=Terminal MUA using notmuch mail
-Exec=alot compose %u
+Exec=alot
Terminal=true
Type=Application
-MimeType=x-scheme-handler/mailto;