diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-10-08 12:09:20 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-10-08 12:59:10 -0400 |
commit | 49570c8dd03448240897b37b68567352b790f16f (patch) | |
tree | 6c192a52046d5d0dd1b84a838befd8e777cfeafb /mbsyncloop | |
parent | 66939c71da756c1d9e07a88a4a8ea2a018650060 (diff) | |
download | conf-49570c8dd03448240897b37b68567352b790f16f.tar.gz conf-49570c8dd03448240897b37b68567352b790f16f.zip |
convert to stow
Diffstat (limited to 'mbsyncloop')
-rw-r--r-- | mbsyncloop/.config/mbsyncloop/config.json | 4 | ||||
-rwxr-xr-x | mbsyncloop/.services/available/mbsyncloop/log/run | 4 | ||||
-rwxr-xr-x | mbsyncloop/.services/available/mbsyncloop/run | 3 | ||||
-rw-r--r-- | mbsyncloop/Makefile | 4 |
4 files changed, 15 insertions, 0 deletions
diff --git a/mbsyncloop/.config/mbsyncloop/config.json b/mbsyncloop/.config/mbsyncloop/config.json new file mode 100644 index 0000000..879665f --- /dev/null +++ b/mbsyncloop/.config/mbsyncloop/config.json @@ -0,0 +1,4 @@ +{ + "box_patterns": ["^(?!old\\.)"], + "on_new_mail": "notmuch new | grep -v '^No new mail\\.$'" +} diff --git a/mbsyncloop/.services/available/mbsyncloop/log/run b/mbsyncloop/.services/available/mbsyncloop/log/run new file mode 100755 index 0000000..5930eda --- /dev/null +++ b/mbsyncloop/.services/available/mbsyncloop/log/run @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu + +exec multilog t s16777215 "$HOME/.log/mbsyncloop" diff --git a/mbsyncloop/.services/available/mbsyncloop/run b/mbsyncloop/.services/available/mbsyncloop/run new file mode 100755 index 0000000..ac7e636 --- /dev/null +++ b/mbsyncloop/.services/available/mbsyncloop/run @@ -0,0 +1,3 @@ +#!/bin/sh + +exec mbsyncloop 2>&1 diff --git a/mbsyncloop/Makefile b/mbsyncloop/Makefile new file mode 100644 index 0000000..5997d23 --- /dev/null +++ b/mbsyncloop/Makefile @@ -0,0 +1,4 @@ +include ../Makefile.include + +install: $(HOME)/.services/enabled/mbsyncloop + @mkdir -p $(HOME)/.log/mbsyncloop |