https://github.com/prikhi/timerr
A Simple CLI Timer Using DBus Notifications.
https://github.com/prikhi/timerr
cli kitchen-timer libnotify notifications rust timer
Last synced: about 1 year ago
JSON representation
A Simple CLI Timer Using DBus Notifications.
- Host: GitHub
- URL: https://github.com/prikhi/timerr
- Owner: prikhi
- License: gpl-3.0
- Created: 2018-12-29T05:31:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T19:48:05.000Z (about 7 years ago)
- Last Synced: 2025-01-17T01:36:20.295Z (about 1 year ago)
- Topics: cli, kitchen-timer, libnotify, notifications, rust, timer
- Language: Rust
- Size: 21.5 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# timerr
[](https://travis-ci.org/prikhi/timerr)
Timerr is a simple CLI timer that sends desktop notifications when the timer is up.
First build and install the application:
```sh
rustup default stable
cargo build
cargo install --path .
export PATH="${HOME}/.cargo/bin/:${PATH}"
```
Then you can run `timerr`, either with a minute duration, or specific time to
go off:
```sh
# Send notification in 45 minutes
timerr 45 "Laundry is done"
# Send notification at 3:45pm
timerr 15:45 "Meeting in 15 minutes"
```
Note that quoting the notification title is not necessary:
```sh
timerr 15 Grab pizza from oven
```
Make sure you've got a notification daemon running!
## TODO
* Support duration suffixes. E.g., `30s`, `1.5hr`, `20m`
* Support am/pm times
* Optional body text, icon, & sound via CLI flags
* Default icon & sound via config file
## License
GPL-3.0 or newer