pipewire-controller: trim mute status
parent
269bda650d
commit
4aa73643e7
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue