From 516ae34a9ff7c8ec0503eee86e0379b89d853228 Mon Sep 17 00:00:00 2001 From: andrey_varnavskiy Date: Sun, 15 Dec 2024 04:55:20 +0500 Subject: [PATCH] add zathura configuration --- home-manager/modules/default.nix | 1 + home-manager/modules/zathura.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 home-manager/modules/zathura.nix diff --git a/home-manager/modules/default.nix b/home-manager/modules/default.nix index 0069cbf..f52fb62 100644 --- a/home-manager/modules/default.nix +++ b/home-manager/modules/default.nix @@ -14,6 +14,7 @@ ./tmux.nix ./waybar ./wofi + ./zathura.nix ./zsh.nix ]; } diff --git a/home-manager/modules/zathura.nix b/home-manager/modules/zathura.nix new file mode 100644 index 0000000..3896a92 --- /dev/null +++ b/home-manager/modules/zathura.nix @@ -0,0 +1,14 @@ +{ + programs.zathura = { + enable = true; + mappings = { + D = "toggle_page_mode"; + d = "scroll half_down"; + u = "scroll half_up"; + }; + options = { + default-bg = "#282828"; + default-fg = "#ebdbb2"; + }; + }; +}