diff --git a/bin/org-capture b/bin/org-capture index f314fb709..1f338c6b6 100755 --- a/bin/org-capture +++ b/bin/org-capture @@ -32,7 +32,7 @@ shift $((OPTIND-1)) if [ $daemon ]; then emacsclient -a "" \ - -c -F '((name . "org-capture") (width . 70) (height . 25) (transient . t))' \ + -c -F '((name . "doom-capture") (width . 70) (height . 25) (transient . t))' \ -e "(+org-capture/open-frame \"$str\" ${key:-nil})" else # Non-daemon servers flicker a lot if frames are created from terminal, so we diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index 018a14538..612f1d703 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -11,7 +11,7 @@ ;;;###autoload (defvar +org-capture-frame-parameters - `((name . "org-capture") + `((name . "doom-capture") (width . 70) (height . 25) (transient . t) @@ -29,7 +29,7 @@ (defun +org-capture-frame-p (&rest _) "Return t if the current frame is an org-capture frame opened by `+org-capture/open-frame'." - (and (equal "org-capture" (frame-parameter nil 'name)) + (and (equal "doom-capture" (frame-parameter nil 'name)) (frame-parameter nil 'transient))) ;;;###autoload