In contrast to popular opinion about work interruptions, I've found that being interrupted with a simple prompt to explain what I'm doing is actually often helpful.
Explicitly articulating how I'm spending my time helps me to remember the big picture and notice when I've drifted off course.
The prompt only appears while the computer is in use, gives notice before stealing focus, and permits alarm clock–style snoozing to accommodate time-sensitive tasks.
set -o errtrace
notify-send --hint 'int:transient:1' \
--icon 'appointment-new' \
'Upcoming journal entry'
yad --center \
--entry-label "$1" \
--timeout '60' \
--timeout-indicator 'left' \
--title 'Journal' \
while sleep '5m'; do
if (( $(xprintidle) < 60000 )) && status="$(prompt 'Andrew is')"; then
jrnl "@prompt Andrew is $status"