A bunch of changes
This commit is contained in:
parent
2111b7f937
commit
b613c5b5c5
@ -8,4 +8,4 @@ notmuch tag +spam folder:Spam
|
|||||||
|
|
||||||
notmuch tag -starred not folder:Starred
|
notmuch tag -starred not folder:Starred
|
||||||
|
|
||||||
hy ~/scripts/notify-mail.hy
|
hy "${HOME}/scripts/mail/notify-mail.hy"
|
@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env zsh
|
|
||||||
|
|
||||||
mbsync -a
|
|
||||||
notmuch new
|
|
||||||
~/scripts/notmuch-post.sh
|
|
@ -1,7 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Copy KeePassXC database file to Nextcloud for backup
|
Description=Copy KeePassXC database file to Nextcloud for backup
|
||||||
Wants=default.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/home/zander/scripts/backup-keepassxc-db.sh %i
|
ExecStart=%h/scripts/backup-keepassxc-db.sh %i
|
||||||
|
11
systemd/sync-mail.service
Normal file
11
systemd/sync-mail.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Sync mail with mbsync and notmuch
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=-mbsync -a ; notmuch new
|
||||||
|
RuntimeMaxSec=3m
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
12
systemd/sync-mail.timer
Normal file
12
systemd/sync-mail.timer
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Sync mail every minute with mbsync and notmuch
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* *:*:00
|
||||||
|
FixedRandomDelay=true
|
||||||
|
AccuracySec=10s
|
||||||
|
RandomizedDelaySec=45m
|
||||||
|
Persistent=yes
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Sync calendar %i with vdirsyncer
|
Description=Sync calendar %i with vdirsyncer
|
||||||
Wants=default.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Loading…
Reference in New Issue
Block a user