summaryrefslogtreecommitdiffstatshomepage
path: root/aerc/.config/systemd/user/maildir-rank-addr.service
diff options
context:
space:
mode:
Diffstat (limited to 'aerc/.config/systemd/user/maildir-rank-addr.service')
-rw-r--r--aerc/.config/systemd/user/maildir-rank-addr.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/aerc/.config/systemd/user/maildir-rank-addr.service b/aerc/.config/systemd/user/maildir-rank-addr.service
new file mode 100644
index 0000000..b9fcf24
--- /dev/null
+++ b/aerc/.config/systemd/user/maildir-rank-addr.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Generates a ranked addressbook from a maildir folder
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/maildir-rank-addr --maildir=${MAIL} --addresses="tobyv@tobyvin.dev,tobyv13@gmail.com" --template='{{.Address}}\t{{.Name}}\t{{.NormalizedName}}'
+
+[Install]
+WantedBy=default.target