From e4cc4a3967c5bd22d9a65fc51bfe692ae662c63a Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Sat, 13 Aug 2022 17:22:38 +0200 Subject: [PATCH] add zathura --- dots/bspwm/bspwmrc.template | 1 + dots/zathura/.link | 2 ++ dots/zathura/zathurarc | 38 +++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 dots/zathura/.link create mode 100644 dots/zathura/zathurarc diff --git a/dots/bspwm/bspwmrc.template b/dots/bspwm/bspwmrc.template index 8d0ffc0..2b148aa 100755 --- a/dots/bspwm/bspwmrc.template +++ b/dots/bspwm/bspwmrc.template @@ -26,6 +26,7 @@ bspc rule -a .obs-wrapped desktop='8' bspc rule -a Zeal desktop='9' bspc rule -a Xournal desktop='6' bspc rule -a Pavucontrol state=floating +bspc rule -a Zathura state=tiled destkop='4' xsetroot -cursor_name left_ptr bspc config remove_unplugged_monitors true diff --git a/dots/zathura/.link b/dots/zathura/.link new file mode 100644 index 0000000..05f58ad --- /dev/null +++ b/dots/zathura/.link @@ -0,0 +1,2 @@ +TASKNAME="Configuring Zathura" +LINKTO=".config/zathura" diff --git a/dots/zathura/zathurarc b/dots/zathura/zathurarc new file mode 100644 index 0000000..19d45ed --- /dev/null +++ b/dots/zathura/zathurarc @@ -0,0 +1,38 @@ +set synctex-editor-command "emacsclient -a emacs --no-wait +%{line} %{input}" +set adjust-open width +set synctex true + +map \< goto top +map \> goto bottom +map f navigate previous +map y follow +map Y jumplist backward +map \" jumplist forward +map ; navigate next +map U goto top +map P goto bottom + +map j zoom in +map k zoom out +map zoom in +map J adjust_window best-fit +map K adjust_window width +map n scroll full-left +map e scroll left +map i scroll full-right +map o scroll right +map abort +map p scroll down +map u scroll up +map P scroll full-down +map U scroll full-up + +map l mark_add +map \' mark_evaluate + +map [index] u navigate_index up +map [index] p navigate_index down +map [index] e navigate_index collapse +map [index] E navigate_index collapse-all +map [index] o navigate_index expand +map [index] O navigate_index expand-all