stylix/modules/zathura/hm.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

2023-03-25 10:28:16 +01:00
{ config, lib, ... }:
2023-05-18 15:00:50 -04:00
with config.lib.stylix.colors;
{
2023-03-25 10:28:16 +01:00
options.stylix.targets.zathura.enable =
config.lib.stylix.mkEnableTarget "Zathura" true;
config = lib.mkIf config.stylix.targets.zathura.enable {
# Taken from here:
# https://github.com/doenerkebap/base16-zathura
programs.zathura.options = {
2023-05-18 15:00:50 -04:00
default-bg = "#${base00}";
default-fg = "#${base01}";
statusbar-fg = "#${base04}";
statusbar-bg = "#${base02}";
inputbar-bg = "#${base00}";
inputbar-fg = "#${base07}";
notification-bg = "#${base00}";
notification-fg = "#${base07}";
notification-error-bg = "#${base00}";
notification-error-fg = "#${base08}";
notification-warning-bg = "#${base00}";
notification-warning-fg = "#${base08}";
highlight-color = "#${base0A}";
highlight-active-color = "#${base0D}";
completion-bg = "#${base01}";
completion-fg = "#${base0D}";
completion-highlight-fg = "#${base07}";
completion-highlight-bg = "#${base0D}";
recolor-lightcolor = "#${base00}";
recolor-darkcolor = "#${base06}";
2023-03-25 10:28:16 +01:00
};
};
}