feat: add sound notification #6
@@ -7,6 +7,8 @@ A minimal and unintrusive Pomodoro timer written in Rust for the terminal.
|
|||||||
- Supports focus sessions and break sessions.
|
- Supports focus sessions and break sessions.
|
||||||
- System-level alerts to notify you when a session ends.
|
- System-level alerts to notify you when a session ends.
|
||||||
- Define custom focus and break session durations from the command line.
|
- Define custom focus and break session durations from the command line.
|
||||||
|
- Cross-platform sound notifications when a session ends.
|
||||||
|
- Cross-platform audio visualizer.
|
||||||
|
|
||||||
## Keyboard Controls
|
## Keyboard Controls
|
||||||
|
|
||||||
@@ -52,7 +54,7 @@ termato
|
|||||||
|
|
||||||
### Specifying Options and Custom Session Times
|
### Specifying Options and Custom Session Times
|
||||||
|
|
||||||
By default, desktop notifications are disabled. You can specify options and custom session durations as command-line arguments:
|
By default, desktop notifications, sound alerts, and the visualizer are disabled. You can specify options and custom session durations as command-line arguments:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
termato [options] [work_minutes] [break_minutes]
|
termato [options] [work_minutes] [break_minutes]
|
||||||
@@ -64,10 +66,19 @@ For example, to enable desktop notifications and run a 50-minute focus session f
|
|||||||
termato -n 50 10
|
termato -n 50 10
|
||||||
```
|
```
|
||||||
|
|
||||||
Or using the long flag:
|
To enable both desktop notifications and sound notifications with custom times:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
termato --notify 50 10
|
termato -ns 50 10
|
||||||
|
|
||||||
|
# or with long flags
|
||||||
|
termato --notify -sound 50 10
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also combine short flags together (e.g. -nsz to enable notifications, sound, and the audio visualizer):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
termato -nsz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Help and Version
|
### Help and Version
|
||||||
|
|||||||
Reference in New Issue
Block a user