diff --git a/.bin/sb-tasks b/.bin/sb-tasks index 0ec0689..aa3243b 100755 --- a/.bin/sb-tasks +++ b/.bin/sb-tasks @@ -2,13 +2,6 @@ num_done="$(task end.after:today status:completed count)" num_pending="$(($(task count status:pending) + $num_done))" +num_waiting="$(($(task count status:waiting)))" -if [ "$num_done" -ge "$num_pending" ];then - color="\x01" -elif [ "$num_done" -ge "$((num_pending/2))" ]; then - color="\x03" -else - color="\x04" -fi - -echo -n -e "$color Tasks: $num_done/$num_pending \x01" +echo -e "Tasks: $num_done/$num_pending+$num_waiting"