From 0dbfba6a4d6185a9715615052e9604ac7e717043 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 21 Dec 2011 12:22:45 +0100 Subject: HLWM: Add 2 keybinds Mod4-t: start an emacs instance to capture a new todo item Mod4-Shift-t: Show todo list --- bin/hlwm/capture-todo | 5 +++++ bin/hlwm/show-todo | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 bin/hlwm/capture-todo create mode 100755 bin/hlwm/show-todo (limited to 'bin/hlwm') 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))" diff --git a/bin/hlwm/show-todo b/bin/hlwm/show-todo new file mode 100755 index 0000000..991d3bd --- /dev/null +++ b/bin/hlwm/show-todo @@ -0,0 +1,5 @@ +#!/bin/bash + +grep --color=never "* \(TODO\|IN PROGRESS\|WAITING\)" org/notes.org \ + | sed 's/\*/ /g' \ + | xmessage -file - -default okay -- cgit v1.2.3-54-g00ecf