countdown
countdown copied to clipboard
Terminal countdown timer
Countdown
Usage
Specify duration in go format 1h2m3s
.
countdown 25s
Or specify target time in Kitchen time format. This starts a countdown to the matching time within the next 24 hours. For instance, if the current time would be 11:30AM,
countdown 11:32AM
would trigger a 2 minute countdown.
Add command with &&
to run after countdown.
countdown 1m30s && say "Hello, world"
Key binding
-
p
orP
: To pause the countdown. -
c
orC
: To resume the countdown. -
Esc
orCtrl+C
: To stop the countdown without running next command.
Install
go install github.com/antonmedv/countdown
License
MIT