pipewire-controller: mpv volume

sh-initrd-on-root
Zynh Ludwig 2024-09-28 19:04:36 -07:00
parent 6df4a922ef
commit d6fd828568
1 changed files with 2 additions and 2 deletions

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