diff options
| author | schererleander <leander@schererleander.de> | 2025-05-11 16:48:04 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-05-11 16:48:04 +0200 |
| commit | f6cf9bea4125ce0501c72374fa4ed82dc03d3147 (patch) | |
| tree | 6fd9db4633b06a892456c4e58ccec9a9644af55e /modules/zathura.nix | |
| parent | ac5d4c921a776b991db0f9e23cc283c1a401fd45 (diff) | |
chore, formatting
Diffstat (limited to 'modules/zathura.nix')
| -rw-r--r-- | modules/zathura.nix | 7 |
1 files changed, 3 insertions, 4 deletions
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"; |
