dotfiles/notmuch/.config/notmuch/default/hooks/post-new

8 lines
198 B
Scheme
Executable file

#!/usr/bin/env sh
# -*- mode: scheme; -*-
IFS=" "
exec scsh -e main -s "$0" "$@"
!#
(define (main . args)
(run (notmuch-collect-tasks ,(format #f "~a/documents/gtd/inbox.org" (getenv "HOME")))))