fix: mute_input always mutes instead of toggling

This commit is contained in:
2026-08-07 08:31:12 +02:00
parent d0841d2c9b
commit d6f26d88a4
5 changed files with 11 additions and 4 deletions
+7
View File
@@ -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
Generated
+1 -1
View File
@@ -537,7 +537,7 @@ dependencies = [
[[package]]
name = "gosleep-timer"
version = "1.3.1"
version = "1.3.2"
dependencies = [
"anyhow",
"clap",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "gosleep-timer"
version = "1.3.1"
version = "1.3.2"
authors = ["forust"]
edition = "2024"
rust-version = "1.88"
+1 -1
View File
@@ -1 +1 @@
1.3.1
1.3.2
+1 -1
View File
@@ -703,7 +703,7 @@ fn build_action_commands(config: &Config) -> Vec<ActionCommand> {
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(),
),
});
}