#!/bin/sh say () { printf '%s\n' "$1"; notify-send "$1"; } while true; do say '5m break' sleep 0.5s sleep_good 5m say 'go work' sleep 0.5s sleep_good 25m done