diff --git a/home/modules/pipewire-controller.nix b/home/modules/pipewire-controller.nix index 6020473..b6fc782 100644 --- a/home/modules/pipewire-controller.nix +++ b/home/modules/pipewire-controller.nix @@ -21,7 +21,7 @@ let .expect("Unable to get mute status from pamixer") .stdout; - let mute_status = str::from_utf8(&mute_status[..]).expect("pamixer output wasn't a string"); + let mute_status = str::from_utf8(&mute_status[..]).expect("pamixer output wasn't a string").trim(); if mute_status == "false" { Command::new("${pamixer}")