Zathura: Use color HM module + update configuration
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
mylib,
|
mylib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) zathura;
|
inherit (config.modules) zathura color;
|
||||||
in {
|
in {
|
||||||
options.modules.zathura = import ./options.nix {inherit lib mylib;};
|
options.modules.zathura = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
@ -12,47 +12,56 @@ in {
|
|||||||
programs.zathura = {
|
programs.zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# TODO: Set database backend
|
options = rec {
|
||||||
# TODO: Use color module
|
n-completion-items = 10;
|
||||||
options = {
|
font = "${color.font} 11";
|
||||||
# Catppuccin Latte
|
guioptions = "s"; # s - statusbar, c - command line
|
||||||
default-fg = "#4C4F69";
|
database = "sqlite";
|
||||||
default-bg = "#EFF1F5";
|
adjust-open = "best-fit";
|
||||||
|
recolor-keephue = true;
|
||||||
|
statusbar-basename = true;
|
||||||
|
statusbar-home-tilde = true;
|
||||||
|
window-title-basename = statusbar-basename;
|
||||||
|
window-title-home-tilde = statusbar-home-tilde;
|
||||||
|
|
||||||
completion-bg = "#CCD0DA";
|
# Colorscheme
|
||||||
completion-fg = "#4C4F69";
|
default-bg = "#${color.light.base}";
|
||||||
completion-highlight-bg = "#575268";
|
default-fg = "#${color.light.text}";
|
||||||
completion-highlight-fg = "#4C4F69";
|
|
||||||
completion-group-bg = "#CCD0DA";
|
|
||||||
completion-group-fg = "#1E66F5";
|
|
||||||
|
|
||||||
statusbar-fg = "#4C4F69";
|
highlight-color = "rgba(${color.rgbString.dark.lavender}, 0.5)";
|
||||||
statusbar-bg = "#CCD0DA";
|
highlight-fg = "rgba(${color.rgbString.dark.green}, 0.5)";
|
||||||
|
highlight-active-color = "rgba(${color.rgbString.dark.pink}, 0.5)";
|
||||||
|
|
||||||
notification-bg = "#CCD0DA";
|
statusbar-bg = "#${color.dark.lavender}";
|
||||||
notification-fg = "#4C4F69";
|
statusbar-fg = default-fg;
|
||||||
notification-error-bg = "#CCD0DA";
|
|
||||||
notification-error-fg = "#D20F39";
|
|
||||||
notification-warning-bg = "#CCD0DA";
|
|
||||||
notification-warning-fg = "#FAE3B0";
|
|
||||||
|
|
||||||
inputbar-fg = "#4C4F69";
|
inputbar-bg = statusbar-bg;
|
||||||
inputbar-bg = "#CCD0DA";
|
inputbar-fg = statusbar-fg;
|
||||||
|
|
||||||
recolor-lightcolor = "#EFF1F5";
|
completion-bg = "#${color.light.surface0}";
|
||||||
recolor-darkcolor = "#4C4F69";
|
completion-fg = default-fg;
|
||||||
|
completion-highlight-bg = statusbar-bg;
|
||||||
|
completion-highlight-fg = completion-fg;
|
||||||
|
completion-group-bg = completion-bg;
|
||||||
|
completion-group-fg = completion-fg;
|
||||||
|
|
||||||
index-fg = "#4C4F69";
|
notification-bg = completion-bg;
|
||||||
index-bg = "#EFF1F5";
|
notification-fg = default-fg;
|
||||||
index-active-fg = "#4C4F69";
|
notification-warning-bg = notification-bg;
|
||||||
index-active-bg = "#CCD0DA";
|
notification-warning-fg = "#${color.light.peach}";
|
||||||
|
notification-error-bg = notification-bg;
|
||||||
|
notification-error-fg = "#${color.light.red}";
|
||||||
|
|
||||||
render-loading-bg = "#EFF1F5";
|
recolor-lightcolor = default-bg;
|
||||||
render-loading-fg = "#4C4F69";
|
recolor-darkcolor = default-fg;
|
||||||
|
|
||||||
highlight-color = "#575268";
|
index-bg = default-bg;
|
||||||
highlight-fg = "#EA76CB";
|
index-fg = default-fg;
|
||||||
highlight-active-color = "#EA76CB";
|
index-active-bg = completion-highlight-bg;
|
||||||
|
index-active-fg = completion-highlight-fg;
|
||||||
|
|
||||||
|
render-loading-bg = default-bg;
|
||||||
|
render-loading-fg = default-fg;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user