writing: Replace zathura with sioyek

Replaced or extended all default references to zathura with
sioyek so it will automatically take on any tasks meant
for pdf reading. With the current configuration, hardly a
change should be noticed.
This commit is contained in:
Marty Oehme 2023-10-02 14:08:04 +02:00
parent af410c0b77
commit 102cdbca1c
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
5 changed files with 8 additions and 6 deletions

View file

@ -274,6 +274,7 @@ screen Full-screen window manager that multiplexes a physical terminal R
sfz A simple static file server A
shellcheck-bin Shell script analysis tool (binary release, static) A
shfmt Format shell programs R
sioyek PDF viewer for research papers and technical books. A
slurp Select a region in a Wayland compositor R
smartmontools Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives R
snap-pac Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST R

Can't render this file because it has a wrong number of fields in line 29.

View file

@ -35,7 +35,7 @@ export BROWSER="qutebrowser"
export TERMINAL="wezterm"
export PAGER="less"
export FILEREADER="zathura"
export FILEREADER="sioyek"
export FILEMANAGER="vifm"
## gopath

View file

@ -358,7 +358,7 @@ set classify+=' ::*.doc,,*.docx::, ::*.xls,,*.xls[mx]::, ::*.pptx,,*.pp
" Pdf
filextype *.pdf
\ { view as rich file }
\ zathura %c %i &, apvlv %c, xpdf %c,
\ sioyek %c %i, zathura %c %i &, apvlv %c, xpdf %c,
\ { edit text content }
\ pdftotext -nopgbrk %c - | nvim
fileviewer *.pdf pdftotext -nopgbrk %c -
@ -366,14 +366,14 @@ fileviewer *.pdf pdftotext -nopgbrk %c -
" PostScript
filextype *.ps,*.eps,*.ps.gz
\ {View in zathura}
\ zathura %f,
\ sioyek %f, zathura %f,
\ {View in gv}
\ gv %c %i &,
" Djvu
filextype *.djvu,*.epub
\ {View in zathura}
\ zathura %f,
\ sioyek %f, zathura %f,
\ {View in apvlv}
\ apvlv %f,

View file

@ -3,9 +3,9 @@ default-library = main
formater = bbt
local-config-file = .papis.config
# opentool = zathura
opentool = sioyek
picktool = papis-tui
mark-opener = zathura -P {mark[value]}
mark-opener = sioyek --page {mark[value]}
file-browser = vifm
# edit info.yaml as new papers are added

View file

@ -2,6 +2,7 @@
[bibtex](https://en.wikipedia.org/wiki/BibTeX) - plain-text reference management
[zathura](git.pwmt.org) - keyboard-driven PDF reading
[sioyek](http://sioyek.info/) - keyboard-driven PDF reading *and annotating*
This readme is a little out of date, as are the scripts below.
They are old, I used them during my time as a student and they are probably written terribly.