49 lines
2.3 KiB
Nix
Raw Normal View History

2023-11-04 02:28:27 +01:00
{ lib, config, ... }: {
2024-04-14 07:57:07 +02:00
config = lib.mkIf (config.syscfg.make.gui) {
2023-11-04 02:28:27 +01:00
programs.zathura = {
enable = true;
extraConfig = ''
set default-fg "#${config.colorScheme.palette.base06}"
set default-bg "#${config.colorScheme.palette.base00}"
set completion-bg "#${config.colorScheme.palette.base02}"
set completion-fg "#${config.colorScheme.palette.base06}"
set completion-highlight-bg "#${config.colorScheme.palette.base03}"
set completion-highlight-fg "#${config.colorScheme.palette.base06}"
set completion-group-bg "#${config.colorScheme.palette.base01}"
set completion-group-fg "#${config.colorScheme.palette.base0C}"
set statusbar-fg "#${config.colorScheme.palette.base06}"
set statusbar-bg "#${config.colorScheme.palette.base01}"
set notification-bg "#${config.colorScheme.palette.base01}"
set notification-fg "#${config.colorScheme.palette.base06}"
set notification-error-bg "#${config.colorScheme.palette.base01}"
set notification-error-fg "#${config.colorScheme.palette.base0F}"
set notification-warning-bg "#${config.colorScheme.palette.base01}"
set notification-warning-fg "#${config.colorScheme.palette.base09}"
set inputbar-fg "#${config.colorScheme.palette.base06}"
set inputbar-bg "#${config.colorScheme.palette.base01}"
set recolor-lightcolor "#${config.colorScheme.palette.base00}"
set recolor-darkcolor "#${config.colorScheme.palette.base06}"
set index-fg "#${config.colorScheme.palette.base06}"
set index-bg "#${config.colorScheme.palette.base00}"
set index-active-fg "#${config.colorScheme.palette.base06}"
set index-active-bg "#${config.colorScheme.palette.base01}"
set render-loading-bg "#${config.colorScheme.palette.base00}"
set render-loading-fg "#${config.colorScheme.palette.base06}"
set highlight-color "#${config.colorScheme.palette.base04}"
set highlight-fg "#${config.colorScheme.palette.base0E}"
set highlight-active-color "#${config.colorScheme.palette.base0E}"
2023-11-04 02:28:27 +01:00
'';
};
};
}