feature request: Access current page variable
I would love to be able to access the page number (displayed at the bottom right) inside a script called from Zathura.
The natural way to do that would be, I guess, to set an environment variable called $CURRENTPAGE (for instance), just like the $FILE is set.
I think this could open some nice extension scripts to be developed! (the one I am currently working on consists of extracting the current page as a new PDF file).
Would it be possible?
Thanks a lot!