Specify duration in go format 1h2m3s
.
countdown 25s
Add command with &&
to run after countdown.
countdown 1m30s && say "Hello, world"
Press Esc
or Ctrl+C
to stop countdown without running next command.
go get github.com/antonmedv/countdown
MIT