1 2 3 4 5 6 7 8 9 10
#!/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