Remind Urgent Tasks
… with desktop notifications from Taskwarrior
Script it
- send only
tasks with high priority
list as desktop notification
task_notify_send.sh
#!/usr/bin/env bash
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$EUID/bus"
notify-send -u critical "$(for ID in $(task _ids priority:V -WAITING -PARENT); do echo [$ID]$(task $ID export | jq -r '.[].description') ; done)"
Schedule it
- schedule
task notification
as systray message every 20 minutes in Crontab
# crontab -l
/20 * * * * ~/.local/bin/task_notify_send.sh