Invert colors in Zathura (a.k.a. night mode)

Zathura is a highly customized, functional, fast pdf reader, focused on vim-like keyboard interactions. I use Zathura for reading pdf, postscript, and djvu, and Zathura is one of my main tools on every Linux distribution I use. One of the things I like about Zathura is inverting colors. This saves my eyes during the night, therefore I like to call it night mode. Inverting colors in Zathura is called recoloring, and is binded to Ctrl+r. This took some time before I found out. I like to key bind inverting colors to Ctrl+i, in ~/.config/zathura/zathurarc add:

map <C-i> recolor

This will do the trick.

1 thought on “Invert colors in Zathura (a.k.a. night mode)

Leave a Reply

Your email address will not be published. Required fields are marked *