Anthony Rodriguez
2ac966be49
Initially, I was using a weird combination of options in order to apply my theme dynamically. I was setting a read-only option from inside my modules, which was then used in every application that required it. What I ended up doing is refactoring everything in order to be inside of my theme module, and automatically configured when enabled, without doing any mkMerge/mkIf shenanigans in my other pieces of configuration. This is healthier, although it should be split up as the theme/default.nix got quite big.
17 lines
360 B
Nix
17 lines
360 B
Nix
_: {
|
|
programs.zathura = {
|
|
enable = true;
|
|
options = {
|
|
font = "Inter 12";
|
|
selection-notification = true;
|
|
|
|
selection-clipboard = "clipboard";
|
|
adjust-open = "best-fit";
|
|
pages-per-row = "1";
|
|
scroll-page-aware = "true";
|
|
scroll-full-overlap = "0.01";
|
|
scroll-step = "100";
|
|
zoom-min = "10";
|
|
};
|
|
};
|
|
}
|