Generic update.

This commit is contained in:
Crony Akatsuki 2023-02-22 19:17:52 +01:00
parent de255e55d7
commit 868fbb687b
5 changed files with 107 additions and 3 deletions

View file

@ -2,7 +2,7 @@
tasks=$(task status:pending -notified due export | jq -r '.[].description')
[ -z "$tasks" ] && exit 0
for task in $tasks; do
while read task; do
notify-send 'A task is due.' "$task"
done
done <<< "$(echo $tasks)"
task rc.bulk=0 rc.confirmation=off status:pending -notified due modify +notified