mpv: improve keybinding for dynaudnorm
authorJulien Moutinho <julm@sourcephile.fr>
Mon, 7 Jun 2021 12:42:10 +0000 (14:42 +0200)
committerJulien Moutinho <julm@sourcephile.fr>
Mon, 7 Jun 2021 16:34:56 +0000 (18:34 +0200)
homes/softwares/mpv.nix

index 6ec9f2d84a6a2c6067a89ddaf9a75d6974c1c029..31731b39b90ebc5095952cf2c6f2e6eb0fcd474a 100644 (file)
@@ -8,7 +8,6 @@ xdg.configFile."mpv/mpv.conf".text = ''
 xdg.configFile."mpv/input.conf".text = ''
   # Volume normalization
   # See https://github.com/mpv-player/mpv/issues/3979
-  F1 af toggle "drc=1:0.25"
-  F2 af toggle "lavfi=[dynaudnorm=f=75:g=25:n=0:p=0.58],volume=softclip=yes"
+  Alt+v cycle-values af "dynaudnorm=f=75:g=25:n=0:p=0.58" "loudnorm" ""
 '';
 }