diff options
-rw-r--r-- | ledgerrc | 1 | ||||
-rw-r--r-- | systemd/notmuch.service | 9 | ||||
-rw-r--r-- | systemd/notmuch.timer | 12 |
3 files changed, 21 insertions, 1 deletions
@@ -1,4 +1,3 @@ --strict --file ~/Documents/Budget/ledger/2022/ledger_budget/budget.ldg --start-of-week=1 ---pretty diff --git a/systemd/notmuch.service b/systemd/notmuch.service new file mode 100644 index 0000000..607c2c7 --- /dev/null +++ b/systemd/notmuch.service @@ -0,0 +1,9 @@ +# must be symlinked from ~/.config/systemd/user +[Unit] +Description=Use isync to update IMAP account + +[Service] +# User=lemon +# Group=lemon +Type=oneshot +ExecStart=/usr/bin/notmuch new diff --git a/systemd/notmuch.timer b/systemd/notmuch.timer new file mode 100644 index 0000000..6bb5de3 --- /dev/null +++ b/systemd/notmuch.timer @@ -0,0 +1,12 @@ +# must be symlinked from ~/.config/systemd/user +[Unit] +Description=notmuch timer + +[Timer] +# run 5m after boot +OnBootSec=6m +# then every hour +OnUnitActiveSec=1m + +[Install] +WantedBy=timers.target |