summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-06-28 18:50:09 +0200
committerMike Vink <mike1994vink@gmail.com>2023-06-28 18:50:09 +0200
commit702cdf6d41bc2bcd3fdad00ba49bb19f7fd36fb6 (patch)
treebf1d6e86a7752ac470ad5828cd00704be1c22e44
parent9e8d19e610bd1b0114e61451d3f21c986b5cdf4b (diff)
stuff
-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
+ '';
+ };
+}