generated from PlexSheep/rs-base
bump version to 0.3.0
This commit is contained in:
parent
f21b742513
commit
ba6f7e4085
3 changed files with 10 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -100,7 +100,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clock-tui"
|
name = "clock-tui"
|
||||||
version = "0.2.1"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "clock-tui"
|
name = "clock-tui"
|
||||||
version = "0.2.1"
|
version = "0.3.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
description = "A clock app in terminal"
|
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.
|
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
|
## Run stopwatch
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
Reference in a new issue