Files
dotfiles/.config/systemd/user/backup-reminder.service
T
Daniele Fucini 12affc76f7 Add an xmobar indicator and daily reminder for overdue backups
backup.sh shows the days since the last simple_backup (orange from 7,
red from 14); backup-reminder.timer notifies daily once it is overdue.
2026-10-25 12:40:38 +01:00

12 lines
307 B
Desktop File

[Unit]
Description=Notify when the last simple_backup is 14 days old or more
StartLimitIntervalSec=2h
StartLimitBurst=4
[Service]
Type=oneshot
ExecStart=%h/.config/xmobar/backup.sh remind
# no notification daemon yet (e.g. caught up right after login)? retry a few times
Restart=on-failure
RestartSec=5min