executable_emacs-org-capture 226 B

123456789
  1. #!/usr/bin/env bash
  2. # Send a GUI clipboard to Emacs server.
  3. set -e -x
  4. url=$(echo "$1" | perl -MURI::Escape -ne 'chomp;print uri_escape($_),"\n"')
  5. nohup emacsclient "org-protocol://capture?url=$url&template=X" &>/dev/null &