pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
1.86k stars 127 forks source link

An option to switch `[current_page / total_pages]` to just `total_pages` #590

Open Orest58008 opened 3 weeks ago

Orest58008 commented 3 weeks ago

zathura-poppler (and now zathura-mupdf) seemingly provide total pages count as (current_page/total_pages) so the statusbar usually displays something like [33 / (33/273)].

I'm using Arch Linux with the following versions of software:

info: Opening plain database via sqlite backend.
warning: sqlite database already exists. Set your database backend to sqlite
zathura 0.5.6
girara 0.4.4 (runtime: 0.4.4)
(plugin) djvu (0.2.9) (/usr/lib/zathura/libdjvu.so)
(plugin) pdf-mupdf (0.4.2) (/usr/lib/zathura/libpdf-mupdf.so)
sebastinas commented 3 weeks ago

There is an argument to be made that if the page label is the same as the page number, that it should not be displayed.