HLWM: Add 2 keybinds
Mod4-t: start an emacs instance to capture a new todo item Mod4-Shift-t: Show todo list
This commit is contained in:
parent
c048e475fb
commit
0dbfba6a4d
3 changed files with 12 additions and 0 deletions
|
@ -65,6 +65,8 @@
|
|||
"-misc-tamsyn-medium-r-normal-*-17-*-*-*-*-*-iso8859-*"
|
||||
"#252a2b" "#eeeeec")))
|
||||
(keybind "Control" "Mod1-l" "spawn i3lock -c 000000")
|
||||
(keybind modkey "t" "spawn ~/bin/hlwm/capture-todo")
|
||||
(keybind modkey "Shift-t" "spawn ~/bin/hlwm/show-todo")
|
||||
|
||||
;; tags
|
||||
(hc "rename default q")
|
||||
|
|
5
bin/hlwm/capture-todo
Executable file
5
bin/hlwm/capture-todo
Executable file
|
@ -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))"
|
5
bin/hlwm/show-todo
Executable file
5
bin/hlwm/show-todo
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
grep --color=never "* \(TODO\|IN PROGRESS\|WAITING\)" org/notes.org \
|
||||
| sed 's/\*/ /g' \
|
||||
| xmessage -file - -default okay
|
Loading…
Reference in a new issue