Finally fixed my mailto handler
This commit is contained in:
parent
d7ad8de30a
commit
a438e762ec
@ -70,7 +70,7 @@ x-scheme-handler/magnet=qBittorrent.desktop
|
||||
audio/mpeg=mpv.desktop
|
||||
audio/x-wav=mpv.desktop
|
||||
application/lrf=com.github.babluboy.bookworm.desktop
|
||||
x-scheme-handler/mailto=gnus.desktop
|
||||
x-scheme-handler/mailto=mu4e.desktop
|
||||
application/octet-stream=emacs.desktop
|
||||
message/rfc822=gnus.desktop
|
||||
audio/x-mod=mpv.desktop
|
||||
|
@ -3,7 +3,7 @@ Name=Mu4e
|
||||
GenericName=Mu4e
|
||||
Comment=Maildir Utils for Emacs
|
||||
MimeType=x-scheme-handler/mailto;
|
||||
Exec=emacs --eval "(mu4e)" %F
|
||||
Exec=/home/phundrak/.local/bin/emacsmail %U
|
||||
Icon=emacs
|
||||
Type=Application
|
||||
Terminal=false
|
||||
|
@ -21,6 +21,7 @@
|
||||
- [[#cnew][Cnew]]
|
||||
- [[#dart-language-server][Dart Language Server]]
|
||||
- [[#dmenu][Dmenu]]
|
||||
- [[#emacsmail][Emacsmail]]
|
||||
- [[#emoji-picker][Emoji picker]]
|
||||
- [[#lock][Lock]]
|
||||
- [[#mp42webm][mp42webm]]
|
||||
@ -327,6 +328,18 @@
|
||||
rofi -dmenu $argv
|
||||
#+END_SRC
|
||||
|
||||
* Emacsmail
|
||||
:PROPERTIES:
|
||||
:HEADER-ARGS: :tangle ~/.local/bin/emacsmail
|
||||
:CUSTOM_ID: h-38a20359-28fb-412d-bf83-e2202d04f75f
|
||||
:END:
|
||||
This short script is used in my =~/.local/share/applications/mu4e.desktop=
|
||||
file in order to send to Emacs any ~mailto:~ requests made in my system.
|
||||
#+BEGIN_SRC bash
|
||||
#!/bin/bash
|
||||
emacsclient -c --eval "(browse-url-mail \"$@\")"
|
||||
#+END_SRC
|
||||
|
||||
* Emoji picker
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h-477cd486-c9a6-4d59-bd9d-62d8f08ee62d
|
||||
|
Loading…
Reference in New Issue
Block a user