dots/.bin/sb-tasks

8 lines
241 B
Plaintext
Raw Normal View History

2022-05-11 13:26:31 +02:00
#!/usr/bin/env bash
num_done="$(task end.after:today status:completed count)"
num_pending="$(($(task count status:pending) + $num_done))"
num_waiting="$(($(task count status:waiting)))"
2022-05-11 13:26:31 +02:00
echo -e "Tasks: $num_done/$num_pending+$num_waiting"