about summary refs log tree commit diff stats
path: root/notmuch
diff options
context:
space:
mode:
authorCase Duckworth2023-05-13 23:50:35 -0500
committerCase Duckworth2023-05-13 23:50:35 -0500
commit832af38380ba5b6a020b034059b4bc5ff7443ded (patch)
treefce4708280ff964d80a9808ed6826a1f3799e804 /notmuch
parentuhhhh (diff)
downloadetc-832af38380ba5b6a020b034059b4bc5ff7443ded.tar.gz
etc-832af38380ba5b6a020b034059b4bc5ff7443ded.zip
uhhh
Diffstat (limited to 'notmuch')
-rwxr-xr-xnotmuch/default/hooks/post-new10
-rwxr-xr-xnotmuch/default/hooks/pre-new2
2 files changed, 6 insertions, 6 deletions
diff --git a/notmuch/default/hooks/post-new b/notmuch/default/hooks/post-new index 744c334..b60ea78 100755 --- a/notmuch/default/hooks/post-new +++ b/notmuch/default/hooks/post-new
@@ -13,10 +13,10 @@
13# When I have that installed, I want to move this to ~/.config/notmuch. 13# When I have that installed, I want to move this to ~/.config/notmuch.
14 14
15# Update tags based on folders 15# Update tags based on folders
16for fdir in ~/var/mail/fastmail/* ; do 16# for fdir in ~/var/mail/fastmail/* ; do
17 if [[ $(basename "$fdir") != "INBOX" ]]; then 17# if [[ $(basename "$fdir") != "INBOX" ]]; then
18 notmuch tag +$(basename "$fdir") -inbox -- "folder:${fdir##$HOME/var/mail/}" 18# notmuch tag +$(basename "$fdir") -inbox -- "folder:${fdir##$HOME/var/mail/}"
19 fi 19# fi
20done 20# done
21 21
22notmuch tag --batch --input="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/post-new.tags" 22notmuch tag --batch --input="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/post-new.tags"
diff --git a/notmuch/default/hooks/pre-new b/notmuch/default/hooks/pre-new index 443e3f2..73df046 100755 --- a/notmuch/default/hooks/pre-new +++ b/notmuch/default/hooks/pre-new
@@ -12,4 +12,4 @@
12# TODO: In notmuch v0.35, the location of this hook becomes configurable. 12# TODO: In notmuch v0.35, the location of this hook becomes configurable.
13# When I have that installed, I want to move this to ~/.config/notmuch. 13# When I have that installed, I want to move this to ~/.config/notmuch.
14 14
15/home/case/usr/scripts/syncmail 15/home/acdw/usr/scripts/syncmail