I wonder how well this would keep me/someone from accidentally hyperfocusing-from experience, a 10 minute repeating timer helps somewhat, but I have always been curious about a random length timer instead.
That might literally drive me crazy. Watching with dread as the line disappeared would disrupt my work completely. Eventually I’d just lose it like a character in a Poe story.
I’ve used bash like this many times before:
while sleep 600
do
say “hey!”
sleep $(( $RANDOM % 300 ))
done