From 7a645b9cb79e75ae439c89e76346e17c1fbe427e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 18:21:10 -0600 Subject: feat(scripts): add org-protocol-setup for Emacs capture Minimal script to register org-protocol:// scheme handler. Extracted from resetmimetypes script. Co-Authored-By: Claude Opus 4.5 --- dotfiles/common/.local/bin/org-protocol-setup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 dotfiles/common/.local/bin/org-protocol-setup (limited to 'dotfiles/common/.local/bin/org-protocol-setup') 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 +# 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" -- cgit v1.2.3