From a5436a6231f64d0f782efed777d4ef8c23e2a6f5 Mon Sep 17 00:00:00 2001 From: adikro Date: Tue, 23 Dec 2025 19:53:08 +0100 Subject: small mpv changes --- hm/env/niri/niri.nix | 3 ++- hm/soft/media.nix | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'hm') diff --git a/hm/env/niri/niri.nix b/hm/env/niri/niri.nix index cc8899a..e43ba86 100644 --- a/hm/env/niri/niri.nix +++ b/hm/env/niri/niri.nix @@ -32,7 +32,7 @@ in mod-key = "Alt"; keyboard = { xkb.layout = "pl"; - repeat-delay = 400; + repeat-delay = 300; repeat-rate = 60; }; power-key-handling.enable = false; @@ -79,6 +79,7 @@ in position = "top"; }; }; + gestures.hot-corners.enable = false; spawn-at-startup = [ { command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; } { command = [ "awww-daemon" ]; } diff --git a/hm/soft/media.nix b/hm/soft/media.nix index 0a17f3e..fdd49e4 100644 --- a/hm/soft/media.nix +++ b/hm/soft/media.nix @@ -10,7 +10,11 @@ in config = { profile = "gpu-hq"; vo = "gpu-next"; - hwdec = "auto-safe"; + gpu-api = "vulkan"; + hwdec = "vaapi"; + gpu-context = "wayland"; + scale = "ewa_lanczossharp"; + cscale = "ewa_lanczossharp"; save-position-on-quit = true; keep-open = "yes"; sub-auto = "fuzzy"; @@ -39,6 +43,7 @@ in }; home.packages = with pkgs; [ + anime4k syncplay-nogui ffmpeg imagemagick -- cgit v1.3