add zathura

This commit is contained in:
Valentin Boettcher 2022-08-13 17:22:38 +02:00
parent 095554d931
commit e4cc4a3967
3 changed files with 41 additions and 0 deletions

View file

@ -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

2
dots/zathura/.link Normal file
View file

@ -0,0 +1,2 @@
TASKNAME="Configuring Zathura"
LINKTO=".config/zathura"

38
dots/zathura/zathurarc Normal file
View file

@ -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 <C-=> 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 <C-g> 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