Merge pull request #6 from race604/jimmy-wu--bump-version

bump version to 0.3.0
This commit is contained in:
Jimmy 2022-08-05 09:34:17 +08:00 committed by GitHub
commit 5ab34df88a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -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"

View file

@ -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