Skip to content
master
Switch branches/tags
Code

Latest commit

* Add .gitignore to ignore compiled binary

* Add kitchen time format support
63e585e

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Countdown

Screen shot

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"

Notify

notify_preview

Key binding

  • p or P: To pause the countdown.
  • c or C: To resume the countdown.
  • Esc or Ctrl+C: To stop the countdown without running next command.

Install

go get github.com/antonmedv/countdown

License

MIT

Credit

Icons made by Freepik from www.flaticon.com