1 unstable release
Uses new Rust 2024
new 0.1.0 | May 7, 2025 |
---|
#2 in #stopwatch
145KB
361 lines
timewatch
A terminal-based countdown timer with adaptive layout.
Features
- Displays time in large ASCII digits
- Optional message bellow the target
- Automatically chooses horizontal or vertical layout based on terminal size
- Adapts to terminal resizes
- Can exit early with
q
,ESC
orCtrc+C
- Accepts
hh:mm:ss
,mm:ss
or justss
time format
Installation
cargo install --git https://github.com/Foxicution/timewatch
Usage examples
# Reminder to take a break
timewatch 1:00:00 "Break in:"
# Pomodoro
timewatch 25:00 "Pomodoro Session"
# Combine with sounds (or other commands)
timewatch 10 && play ding.wav
Can stop the timewatch anytime using q
, ESC
or Ctrl+C
.
Contributing
PRs and Issues are welcome!
License
MIT
Dependencies
~5–15MB
~199K SLoC