summaryrefslogtreecommitdiffstats
path: root/bin/hlwm/capture-todo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hlwm/capture-todo')
-rwxr-xr-xbin/hlwm/capture-todo5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hlwm/capture-todo b/bin/hlwm/capture-todo
new file mode 100755
index 0000000..a93d1da
--- /dev/null
+++ b/bin/hlwm/capture-todo
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+herbstclient rule pseudotile=on once
+emacs -Q -l ~/.emacs.d/site-lisp/org-init.elc \
+ --execute "(progn (org-capture nil \"t\") (delete-other-windows) (add-hook 'org-capture-after-finalize-hook 'kill-emacs))"