9 lines
281 B
Bash
Executable File
9 lines
281 B
Bash
Executable File
#!/bin/bash
|
|
|
|
tasks=$(task status:pending -notified due export | jq -r '.[].description')
|
|
[ -z "$tasks" ] && exit 0
|
|
while read task; do
|
|
notify-send 'A task is due.' "$task"
|
|
done <<< "$(echo $tasks)"
|
|
task rc.bulk=0 rc.confirmation=off status:pending -notified due modify +notified
|