pipewire-controller: mpv volume

This commit is contained in:
Zynh Ludwig 2024-09-28 19:04:36 -07:00
parent 6df4a922ef
commit d6fd828568

View file

@ -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");
}