summaryrefslogtreecommitdiff
path: root/.fmail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-08 09:44:46 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-11 18:37:33 -0700
commit21ccea4c3cd489c0527dbdec8d06f076f163d216 (patch)
tree9ee42c094d6f7af40a6484be01322f3cb0ef65a8 /.fmail
parent5fca09e07ee80865ea7dbee8500ee9b53648929e (diff)
downloaddotfiles-21ccea4c3cd489c0527dbdec8d06f076f163d216.tar.gz
move notmuch db and hooks to new XDG locations
Diffstat (limited to '.fmail')
-rwxr-xr-x.fmail/.notmuch/hooks/post-new15
-rwxr-xr-x.fmail/.notmuch/hooks/pre-new8
2 files changed, 0 insertions, 23 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.fmail/.notmuch/hooks/post-new
deleted file mode 100755
index 1f908d41..00000000
--- a/.fmail/.notmuch/hooks/post-new
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# Fix copies of my own mail returned to folder:inbox by mailing lists. This
-# is a workaround for a bug in notmuch; see <id:87ee1c7s7s.fsf@tethera.net>.
-notmuch tag +unread -- folder:sent
-notmuch tag -unread -- folder:sent
-
-# mark all drafts as drafts, and as read
-notmuch tag -unread +draft -- folder:drafts
-
-# mark all spam as spam, and as read, for Gnus
-notmuch tag -unread +spam -- folder:spam
-
-# mark all trash as trash, and as read, for Gnus
-notmuch tag -unread +deleted -- folder:trash
diff --git a/.fmail/.notmuch/hooks/pre-new b/.fmail/.notmuch/hooks/pre-new
deleted file mode 100755
index 302651d8..00000000
--- a/.fmail/.notmuch/hooks/pre-new
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-. $HOME/.shenv
-
-offline || movemymail
-
-# ensure that notmuch is able to detect renames by archive-fmail-to-annex
-ionice -c 3 expand-annex-mboxes