From c2f0d9bebe68c11f4d018a18bd5d3880712c6873 Mon Sep 17 00:00:00 2001 From: schererleander Date: Tue, 29 Jul 2025 02:03:38 +0200 Subject: chore: move home-manager modules in seperate folder --- modules/home-manager/zathura.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 modules/home-manager/zathura.nix (limited to 'modules/home-manager/zathura.nix') diff --git a/modules/home-manager/zathura.nix b/modules/home-manager/zathura.nix new file mode 100644 index 0000000..592119b --- /dev/null +++ b/modules/home-manager/zathura.nix @@ -0,0 +1,27 @@ +{ config, lib, pkgs, ... }: + +{ + options.zathura.enable = lib.mkEnableOption "Enable zathura and setup"; + config = lib.mkIf config.zathura.enable { + programs.zathura = { + enable = true; + options = { + recolor-lightcolor = "rgba(0, 0, 0, 0)"; + recolor-darkcolor = "rgba(255, 255, 255, 1)"; + recolor = true; + adjust-open = "width"; + guioptions = "none"; + zoom-center = true; + page-padding = 0; + pages-per-row = 1; + scroll-page-aware = true; + }; + + mappings = { + i = "recolor"; + j = "navigate previous"; + k = "navigate next"; + }; + }; + }; +} \ No newline at end of file -- cgit v1.3.1