diff options
Diffstat (limited to 'dotfiles/common/.local/bin')
| -rwxr-xr-x | dotfiles/common/.local/bin/org-protocol-setup | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/common/.local/bin/org-protocol-setup b/dotfiles/common/.local/bin/org-protocol-setup new file mode 100755 index 0000000..5ed86a7 --- /dev/null +++ b/dotfiles/common/.local/bin/org-protocol-setup @@ -0,0 +1,9 @@ +#!/bin/sh +# org-protocol-setup +# Craig Jennings <c@cjennings.net> +# Register org-protocol scheme handler for Emacs capture + +xdg-mime default org-protocol.desktop x-scheme-handler/org-protocol +update-desktop-database ~/.local/share/applications/ + +echo "org-protocol handler registered for Emacs" |
