aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/mpv/scripts/full-ao-volume.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/mpv/scripts/full-ao-volume.lua b/.config/mpv/scripts/full-ao-volume.lua
new file mode 100644
index 0000000..591138b
--- /dev/null
+++ b/.config/mpv/scripts/full-ao-volume.lua
@@ -0,0 +1,7 @@
+-- make sure AO (pulseaudio/pipewire) output is at 100%
+mp.register_event("audio-reconfig", function ()
+ if mp.get_property("ao-volume") ~= 100 then
+ mp.set_property_number("ao-volume", 100)
+ end
+end)
+