summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/notmuch-config9
-rw-r--r--.profile2
2 files changed, 11 insertions, 0 deletions
diff --git a/.config/notmuch-config b/.config/notmuch-config
new file mode 100644
index 0000000..460fd0b
--- /dev/null
+++ b/.config/notmuch-config
@@ -0,0 +1,9 @@
+[new]
+tags=unread;inbox;
+ignore=.mbsyncstate;.uidvalidity
+[search]
+exclude_tags=deleted;spam;
+[maildir]
+synchronize_flags=true
+[crypto]
+gpg_path=gpg
diff --git a/.profile b/.profile
index d0368b8..4bed3ea 100644
--- a/.profile
+++ b/.profile
@@ -37,6 +37,8 @@ fi
# Some environment variable settings for some programs.
+export MAILDIR="$XDG_DATA_HOME/mail"
+export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch-config"
# Pipenv.
export PIPENV_VENV_IN_PROJECT=1
# Go.