summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/zathura.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/home/zathura.nix b/home/zathura.nix
new file mode 100644
index 0000000..198f039
--- /dev/null
+++ b/home/zathura.nix
@@ -0,0 +1,27 @@
+{
+ flake,
+ config,
+ pkgs,
+ ...
+}: {
+ programs.zathura = {
+ enable = true;
+ extraConfig = ''
+ set sandbox none
+ set statusbar-h-padding 0
+ set statusbar-v-padding 0
+ set page-padding 1
+ set selection-clipboard clipboard
+ map u scroll half-up
+ map d scroll half-down
+ map D toggle_page_mode
+ map r reload
+ map R rotate
+ map K zoom in
+ map J zoom out
+ map i recolor
+ map p print
+ map g goto top
+ '';
+ };
+}