From 1b6f70b78b3a21d4d62e061ead158bd82c31b6bc Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 13 Sep 2025 14:03:29 +0530 Subject: Notifications are turned off by default now --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/daemon/pomo.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f5904ab..4ddef6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -562,7 +562,7 @@ dependencies = [ [[package]] name = "polydoro" -version = "0.2.1" +version = "0.2.2" dependencies = [ "bincode", "notify-rust", diff --git a/Cargo.toml b/Cargo.toml index 6d6f743..eb73146 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://git.vidhukant.com/polydoro/about" repository = "https://git.vidhukant.com/polydoro" readme = "README.md" keywords = ["pomodoro", "polybar", "statusbar", "widget", "lemonbar"] -version = "0.2.1" +version = "0.2.2" edition = "2024" [dependencies] diff --git a/src/daemon/pomo.rs b/src/daemon/pomo.rs index 9cabd1a..afc31ce 100644 --- a/src/daemon/pomo.rs +++ b/src/daemon/pomo.rs @@ -53,7 +53,7 @@ impl Pomo { counter: 1, current_state: State::WorkIdle, - notify: get_envbool("NOTIFY", true), + notify: get_envbool("NOTIFY", false), work_duration: get_envvar("WORK_DURATION", 25 * 60), break_duration: get_envvar("BREAK_DURATION", 5 * 60), long_break_duration: get_envvar("LONG_BREAK_DURATION", 20 * 60), -- cgit v1.2.3