-
Get the current time (
tp time
), date (tp date
), or both (tp now
)- Keep getting it with
tp clock
- Stop with Escape or Q
- Lap with Enter or Space
- Keep getting it with
-
Start a stopwatch (
tp stopwatch
)- Stop with Escape or Q
- Lap with Enter, Space, or L
- If piped (e.g.
sleep 5 | tp stopwatch
), times process while relaying stdin
-
Set a timer (
tp timer [[[hours:]minutes:]seconds]
)- Cancel with Escape or Q
- Pause/unpause with Enter or Space
- Add 5 seconds with Right or A
- Remove 5 seconds with Left or D
- Rings using the BEL character
-
Set an alarm (
tp alarm hour:minute:second AM|PM
)- Cancel with Escape or Q
- Rings using the BEL character
-
Enable desktop notifications with feature flag
notify
, for:- Timers
- Alarms
- Piped stopwatches
The best way to install, if you have cargo
installed, is through that:
$ cargo install timepiece # add `--features notify` if you want desktop notifs
- Background/invisible timers/alarms (make a shim, possibly)
- This is because there don't seem to be any cross-platform fork libraries
- Configuration of any sort (edit the source, not to sound like suckless)