aboutsummaryrefslogtreecommitdiff
path: root/home/programs/mpv.nix
blob: 925d4fe59f5fe68908484dffb4ad65588d488bb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, ... }:
{
  programs.mpv = {
    enable = true;
    config = {
      screenshot-directory = "~/Documents/screenshots";
      ontop = true;
      profile = "gpu-hq";
    };
    scripts = with pkgs.mpvScripts; [
      sponsorblock
      quality-menu # Switch video quality from YT on-the-go
      vr-reversal # Script for mpv to play VR video with optional saving of head tracking data
    ];
  };
}