From 1fdf46e42a2938c46c48eb1365be258cfd0e0287 Mon Sep 17 00:00:00 2001 From: mr-forust Date: Fri, 7 Aug 2026 08:31:12 +0200 Subject: [PATCH] fix: mute_input always mutes instead of toggling --- CHANGELOG.md | 7 +++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- VERSION | 2 +- src/main.rs | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05a0214..0ae9bb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project are documented here. The project uses semantic versioning. Tags are formatted as `vMAJOR.MINOR.PATCH`. +## [1.3.2] - 2026-08-07 + +### Changed + +- `mute_input` action now always mutes the microphone instead of toggling its current state. + ## [1.3.1] - 2026-07-12 ### Added @@ -77,6 +83,7 @@ The project uses semantic versioning. Tags are formatted as `vMAJOR.MINOR.PATCH` - Added YAML configuration, CLI `init`, `preview`, and `run` commands. - Added Gitea CI and tag-based release workflows. +[1.3.2]: https://gitea.forust.xyz/forust/gosleep/releases/tag/v1.3.2 [1.3.1]: https://gitea.forust.xyz/forust/gosleep/releases/tag/v1.3.1 [1.2.2]: https://gitea.forust.xyz/forust/gosleep/releases/tag/v1.2.2 [1.2.1]: https://gitea.forust.xyz/forust/gosleep/releases/tag/v1.2.1 diff --git a/Cargo.lock b/Cargo.lock index 542a96e..1adad95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -537,7 +537,7 @@ dependencies = [ [[package]] name = "gosleep-timer" -version = "1.3.1" +version = "1.3.2" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 13ce32d..683d221 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gosleep-timer" -version = "1.3.1" +version = "1.3.2" authors = ["forust"] edition = "2024" rust-version = "1.88" diff --git a/VERSION b/VERSION index 3a3cd8c..1892b92 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.1 +1.3.2 diff --git a/src/main.rs b/src/main.rs index 73bb831..d154236 100644 --- a/src/main.rs +++ b/src/main.rs @@ -703,7 +703,7 @@ fn build_action_commands(config: &Config) -> Vec { label: "mute_input", args: vec![], shell: Some( - "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle || pactl set-source-mute @DEFAULT_SOURCE@ toggle".to_string(), + "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 0 || pactl set-source-mute @DEFAULT_SOURCE@ 1".to_string(), ), }); }