diff options
| author | schererleander <leander@schererleander.de> | 2025-11-03 00:19:09 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-11-03 00:19:09 +0100 |
| commit | 03f03eee9f8417b540f0d1b0d1e8a4626d455ac3 (patch) | |
| tree | bf7b8a76461e8a469b37197d9b6a78cb16dd2fb8 /modules/programs/zathura.nix | |
| parent | 9e2849e72a9a46515a9141226a0145fdbb5090c8 (diff) | |
chore: reorganize modules into subcategories
Diffstat (limited to 'modules/programs/zathura.nix')
| -rw-r--r-- | modules/programs/zathura.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/programs/zathura.nix b/modules/programs/zathura.nix new file mode 100644 index 0000000..35304a4 --- /dev/null +++ b/modules/programs/zathura.nix @@ -0,0 +1,34 @@ +{ + config, + username, + lib, + ... +}: + +{ + options.nx.programs.zathura.enable = lib.mkEnableOption "Enable zathura and setup"; + config = lib.mkIf config.nx.programs.zathura.enable { + home-manager.users.${username} = { + 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 |
