handle recurrenc in taskwarrior pushover script

This commit is contained in:
Ingolf Wagner 2021-11-04 08:25:48 +01:00
parent 973e3b3305
commit a59bc22cc0
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -93,6 +93,11 @@ in
| ${pkgs.curl}/bin/curl -sS -X POST -H 'Content-Type: application/json' -d @- \ | ${pkgs.curl}/bin/curl -sS -X POST -H 'Content-Type: application/json' -d @- \
"https://api.pushover.net/1/messages.json" "https://api.pushover.net/1/messages.json"
done done
if [[ ${cfg.recurrence} -eq on ]]
then
${taskwarriorCommand} sync
fi
''; '';
}; };
systemd.timers.taskwarrior-pushover = { systemd.timers.taskwarrior-pushover = {