From 4f278339e30b29445039cda85ac3d18a65c8870e Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Thu, 14 Dec 2023 16:07:54 +0800 Subject: [PATCH] home: mpv: minor adjustments --- .../guanranwang/home-manager/applications/mpv/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/users/guanranwang/home-manager/applications/mpv/default.nix b/users/guanranwang/home-manager/applications/mpv/default.nix index 1f03c07..9d603cd 100644 --- a/users/guanranwang/home-manager/applications/mpv/default.nix +++ b/users/guanranwang/home-manager/applications/mpv/default.nix @@ -6,8 +6,10 @@ programs.mpv = { enable = true; config = { + ao = "pipewire,"; + vo = "gpu-next,gpu,"; + hwdec = "auto-safe"; - vo = "gpu-next"; profile = "gpu-hq"; osc = "no"; }; @@ -15,7 +17,9 @@ [ thumbfast ] - ++ lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) (with pkgs.mpvScripts; [mpris]); + ++ lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) (with pkgs.mpvScripts; [ + mpris + ]); }; # for scripts that is not in nixpkgs