From f6cf9bea4125ce0501c72374fa4ed82dc03d3147 Mon Sep 17 00:00:00 2001 From: schererleander Date: Sun, 11 May 2025 16:48:04 +0200 Subject: chore, formatting --- modules/zathura.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules/zathura.nix') diff --git a/modules/zathura.nix b/modules/zathura.nix index 164c760..592119b 100644 --- a/modules/zathura.nix +++ b/modules/zathura.nix @@ -1,10 +1,8 @@ { config, lib, pkgs, ... }: -let - cfg = config.zathura; -in { +{ options.zathura.enable = lib.mkEnableOption "Enable zathura and setup"; - config = lib.mkIf cfg.enable { + config = lib.mkIf config.zathura.enable { programs.zathura = { enable = true; options = { @@ -18,6 +16,7 @@ in { pages-per-row = 1; scroll-page-aware = true; }; + mappings = { i = "recolor"; j = "navigate previous"; -- cgit v1.3.1