1
0
forked from extern/nix-config
donovanglover-nix-config/home/mpv.nix

40 lines
858 B
Nix
Raw Normal View History

{ pkgs, ... }: {
programs.mpv = {
enable = true;
config = {
profile = "gpu-hq";
scale = "ewa_lanczossharp";
cscale = "ewa_lanczossharp";
video-sync = "display-resample";
interpolation = true;
tscale = "oversample";
2023-06-16 14:51:22 +02:00
sub-auto = "fuzzy";
sub-font = "Noto Sans CJK JP Medium";
sub-blur = 10;
sub-file-paths = "subs:subtitles:";
2023-06-16 14:51:22 +02:00
fullscreen = "yes";
2023-06-16 14:51:22 +02:00
screenshot-format = "png";
title = "\${filename} - mpv";
script-opts = "osc-title=\${filename},osc-boxalpha=150,osc-showfullscreen=no,osc-boxvideo=yes";
2023-06-16 14:51:22 +02:00
osc = "no";
osd-on-seek = "no";
osd-bar = "no";
osd-bar-w = 30;
osd-bar-h = "0.2";
osd-duration = 750;
2023-06-16 14:51:22 +02:00
really-quiet = "yes";
};
scripts = with pkgs.mpvScripts; [
mpris
thumbnail
];
};
}