zathuraconf
zathuraconf copied to clipboard
Change zathura colour schemes
zathuraconf
Configure Zathura theme!
Installation • Usage • Examples
Create custom configurations for zathura in one line: provide a colour configuration as json
et voilà!
Installation
Go get it!
go install github.com/gennaro-tedesco/zathuraconf@latest
Usage
Choose a colour configuration from the examples or make your own config.json
:
{
"page": "#3c3836", <-- change colours here
"text": "#bdae93",
"background": "#282828",
"highlight": "#fabd2f",
"highlight_active": "#98971a",
"error": "#d65d0e"
}
then simply run
zathuraconf config.json
This creates your custom zathura configuration file in the default path ~/.config/zathura/zathurarc
. The program asks for confirmation before writing the new settings; if you wish to skip this, pass the -f
flag
zathuraconf -f config.json
If your zathura settings are elsewhere you can provide a different path via
zathuraconf config.json -p /path/to/config/
in both cases make sure the folder path exists already.
See zathuraconf -h
for details.
Change defaults
The colour schemes settings are appended to a default configuration of zathura commands specified here: these defaults are standard and natural, however should you feel the need to change them, modify those lines at will.
Examples
Check the examples list!
Show gallery
zathuraconf examples/solarized_dark.json

zathuraconf examples/onedark.json

zathuraconf examples/gruvbox.json

Tests
Run unit tests with
go test -v ./cmd
Feedback
If you find this application useful consider awarding it a ⭐, it is a great way to give feedback! Otherwise, any additional suggestions or merge request is warmly welcome!