diff --git a/users/simon/modules/mpv.nix b/users/simon/modules/mpv.nix index 1e4acb4..05962d2 100644 --- a/users/simon/modules/mpv.nix +++ b/users/simon/modules/mpv.nix @@ -156,6 +156,9 @@ in # sub-delay for fixing 24 empty frames on blu-ray "Alt+z" = "add sub-delay -1"; "Alt+Z" = "add sub-delay +1"; + + # sponsorblock: set segment boundaries + "alt+g" = "script-binding sponsorblock/set_segment"; }; profiles = @@ -219,7 +222,9 @@ in scripts = [ pitchcontrol - ]; + ] ++ (with pkgs.mpvScripts; [ + sponsorblock + ]); }; # mpv-gallery-view is not compatible with home-manager’s script injection meachanism