lang/org: fix external org-capture workflow
+ Fix frame-spawning when calling bin/org-capture + Integrate counsel-org-capture into bin/org-capture workflow + Ensure frame is closed if counsel-org-capture is cancelled + Ensure org-capture buffer closes the associated frame + Add transient frame property for org-capture frames If you are using a tiling window manager, you'll need to add a rule for a window named "org-capture" in order to make a floating window.
This commit is contained in:
parent
68a4c85088
commit
69dc25ae4c
2 changed files with 36 additions and 20 deletions
|
@ -33,7 +33,7 @@ shift $((OPTIND-1))
|
|||
|
||||
if [[ $daemon ]]; then
|
||||
emacsclient -a "" \
|
||||
-c -F '((name . "org-capture") (width . 70) (height . 25))' \
|
||||
-c -F '((name . "org-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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue