pipewire-controller: mpv volume
parent
6df4a922ef
commit
d6fd828568
|
@ -30,7 +30,7 @@ let
|
|||
.expect("Unable to mute via pamixer");
|
||||
|
||||
Command::new("${mpv}")
|
||||
.args(["--no-video", MUTE_AUDIO])
|
||||
.args(["--no-video", "--volume=80", MUTE_AUDIO])
|
||||
.output()
|
||||
.expect("Unable to play audio via mpv");
|
||||
} else {
|
||||
|
@ -40,7 +40,7 @@ let
|
|||
.expect("Unable to unmute via pamixer");
|
||||
|
||||
Command::new("${mpv}")
|
||||
.args(["--no-video", UNMUTE_AUDIO])
|
||||
.args(["--no-video", "--volume=80", UNMUTE_AUDIO])
|
||||
.output()
|
||||
.expect("Unable to play audio via mpv");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue