generated from PlexSheep/rs-base
Merge pull request #6 from race604/jimmy-wu--bump-version
bump version to 0.3.0
This commit is contained in:
commit
5ab34df88a
3 changed files with 10 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -100,7 +100,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "clock-tui"
|
||||
version = "0.2.1"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "clock-tui"
|
||||
version = "0.2.1"
|
||||
version = "0.3.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "A clock app in terminal"
|
||||
|
|
|
@ -55,6 +55,14 @@ The option `-d` or `--duration` to set time, for example `100s`, `5m`, `1h`, etc
|
|||
|
||||
You can press `Space` key to _pause_ and _resume_ the timer.
|
||||
|
||||
The timer mode also accept additional command to run when the timer ends, for example:
|
||||
|
||||
```
|
||||
tclock timer -d 25m -e terminal-notifier -title tclock -message "'Time is up!'"
|
||||
```
|
||||
|
||||
Here we use [terminal-notifier](https://github.com/julienXX/terminal-notifier) to fire a notification when time is up.
|
||||
|
||||
## Run stopwatch
|
||||
|
||||
```shell
|
||||
|
|
Reference in a new issue