pipewire-controller: mpv volume
This commit is contained in:
parent
6df4a922ef
commit
d6fd828568
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue