From 2640b00b05e1e689593ea95813ba749b0bc39ad0 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Sun, 15 Dec 2024 14:37:58 +0100 Subject: [PATCH] better zahtura scrolling --- home-modules/zathura.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home-modules/zathura.nix b/home-modules/zathura.nix index f7de171..37ab7f6 100644 --- a/home-modules/zathura.nix +++ b/home-modules/zathura.nix @@ -35,6 +35,18 @@ n-completion-items = 9999999999999; exec-command = "open"; page-padding = rice.border-width; + + #stop at page boundries + scroll-page-aware = true; + smooth-scroll = true; + scroll-full-overlap = 0.01; + scroll-step = 300; }; + mappings = { + h = ''feedkeys ""''; + j = ''feedkeys ""''; + k = ''feedkeys ""''; + l = ''feedkeys ""''; + }; }; }