dotfiles/office/.local/bin/task-overdue-prompt
Marty Oehme b534454a88
task: Integrate into office module
Since I am striving for closer connection between my task management, my
mail suite and my calendar appointments, it makes sense to unify all
'office' tasks into the single office module instead of keeping
taskwarrior outside of it.
2022-12-08 14:10:11 +01:00

9 lines
266 B
Bash
Executable file

#!/usr/bin/env zsh
# Simple script to display a skull if there are overdue tasks.
# Intended for prompt use
# (to be visibly reminded on the prompt of any tardiness)
type task >/dev/null 2>&1 || exit 1
[ "$(task +OVERDUE -TODAY count)" -ge 0 ] && print -P "💀"