diff options
-rw-r--r-- | .local/share/applications/org-protocol.desktop | 11 | ||||
-rw-r--r-- | Makefile | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.local/share/applications/org-protocol.desktop b/.local/share/applications/org-protocol.desktop new file mode 100644 index 0000000..31c3e31 --- /dev/null +++ b/.local/share/applications/org-protocol.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=org-protocol +Comment=Intercept calls from emacsclient to trigger custom actions +Categories=Other; +Keywords=org-protocol; +Icon=emacs +Type=Application +Exec=emacsclient -c -- %u +Terminal=false +StartupWMClass=Emacs +MimeType=text/html;x-scheme-handler/org-protocol; @@ -7,3 +7,4 @@ bin_file_name := 10-$(cur_dir) all: $(bin_dir)/pycombine -e '(Makefile|README.md|debian)' "$(HOME)" "$(repo_dir)" + xdg-settings set default-url-scheme-handler org-protocol org-protocol.desktop |