summaryrefslogtreecommitdiffstatshomepage
path: root/aerc/.config/systemd/user/maildir-rank-addr@.service
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-07-31 20:11:12 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-07-31 20:11:34 -0500
commit049c6ee93de0d14a0328800d0ea62b2c3b097ff9 (patch)
tree4c8fbbb3408da285bc08e6e7d4d7a697c6899f8a /aerc/.config/systemd/user/maildir-rank-addr@.service
parent7222b517d8c56f244aa76186d2966730da9c96d1 (diff)
feat(mail): add new email address and host
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..03436a3
--- /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=${XDG_DATA_HOME}/mail/%i/INBOX --outputpath=${XDG_DATA_HOME}/mail/%i/addressbook.tsv
+
+[Install]
+WantedBy=default.target