From 8566b6d3a58f10ea77dfec43ee25ae1e2ea33fc5 Mon Sep 17 00:00:00 2001 From: tzlil Date: Tue, 1 Aug 2023 13:43:42 +0300 Subject: optimize mpv for laptop usage --- mixins/multimedia.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = { -- cgit 1.4.1