diff options
author | tzlil <tzlils@protonmail.com> | 2023-08-01 13:43:42 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-08-01 13:43:42 +0300 |
commit | 8566b6d3a58f10ea77dfec43ee25ae1e2ea33fc5 (patch) | |
tree | 08fa1f2e4d693cc7f8d5c161eb61c7a32d424175 | |
parent | 6c97037a206c24aad6f54da4cfc32c3e63791ba3 (diff) |
optimize mpv for laptop usage
-rw-r--r-- | mixins/multimedia.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mixins/multimedia.nix b/mixins/multimedia.nix index dbd258c..93ce13a 100644 --- a/mixins/multimedia.nix +++ b/mixins/multimedia.nix @@ -44,12 +44,15 @@ enable = true; scripts = with pkgs.mpvScripts; [ mpris - #youtube-quality (pkgs.callPackage ./youtube-quality.nix {}) ]; config = { sub-auto = "fuzzy"; ytdl-raw-options = "write-auto-sub=,sub-lang=en"; + profile = "gpu-hq"; + hwdec = "vdpau"; + screenshot-template = "%F - [%P]v%#01n"; + ytdl-format = "bestvideo[height<=?1080]+bestaudio/best"; }; }; zathura = { |