4 Commits
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "termato"
version = "0.1.1"
version = "0.2.0"
edition = "2024"
repository = "https://github.com/StevanFreeborn/termato"
+1 -1
View File
@@ -72,7 +72,7 @@ To enable both desktop notifications and sound notifications with custom times:
termato -ns 50 10
# or with long flags
termato --notify -sound 50 10
termato --notify --sound 50 10
```
You can also combine short flags together (e.g. -nsz to enable notifications, sound, and the audio visualizer):
+1 -1
View File
@@ -1,5 +1,5 @@
use crossterm::event::{self, Event, KeyCode, KeyModifiers};
use crate::msg::Message;
use crossterm::event::{self, Event, KeyCode, KeyModifiers};
pub fn handle_event(event: Event) -> Option<Message> {
if let Event::Key(key) = event
+1 -1
View File
@@ -6,11 +6,11 @@ use ratatui::{
widgets::{Block, Borders, Clear, Paragraph},
};
use crate::{audio::AudioVisualizer, constants::VIZ_NUM_BARS};
use crate::{
app::{Termato, TimerMode},
constants::SECONDS_PER_MIN,
};
use crate::{audio::AudioVisualizer, constants::VIZ_NUM_BARS};
// use unicode blocks for rendering
// Empty -> " "