61 lines
1.8 KiB
Nix
61 lines
1.8 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
home.packages = [ pkgs.firaCodeNerd ];
|
|
programs.zathura = {
|
|
enable = true;
|
|
|
|
options = {
|
|
selection-clipboard = "clipboard";
|
|
font = "Fira Code Nerd Font 8";
|
|
|
|
# Gruvbox (based on: https://github.com/eastack/zathura-gruvbox/blob/master/zathura-gruvbox-light)
|
|
notification-error-bg = "#ebdbb2"; # bg'1
|
|
notification-error-fg = "#cc241d"; # red
|
|
notification-warning-bg = "#ebdbb2"; # bg'1
|
|
notification-warning-fg = "#d65d0e"; # orange
|
|
notification-bg = "#ebdbb2"; # bg'1
|
|
notification-fg = "#98971a"; # green
|
|
|
|
completion-bg = "#d5c4a1"; # bg2
|
|
completion-fg = "#282828"; # fg'0
|
|
completion-group-bg = "#ebdbb2"; # bg1
|
|
completion-group-fg = "#928374"; # gray
|
|
completion-highlight-bg = "#458588"; # blue
|
|
completion-highlight-fg = "#d5c4a1"; # bg2
|
|
|
|
# Define the color in index mode
|
|
index-bg = "#d5c4a1"; # bg2
|
|
index-fg = "#282828"; # fg'0
|
|
index-active-bg = "#458588"; # blue
|
|
index-active-fg = "#d5c4a1"; # bg2
|
|
|
|
inputbar-bg = "#ebdbb2"; # bg'1
|
|
inputbar-fg = "#282828"; # fg'0
|
|
|
|
statusbar-bg = "#ebdbb2"; # bg2
|
|
statusbar-fg = "#282828"; # fg'0
|
|
|
|
highlight-color = "#d79921"; # yellow
|
|
highlight-active-color = "#d65d0e"; # orange
|
|
|
|
default-bg = "#ebdbb2"; # bg'1
|
|
default-fg = "#282828"; # fg'0
|
|
render-loading = true;
|
|
render-loading-bg = "#ebdbb2"; # bg'1
|
|
render-loading-fg = "#282828"; # fg'0
|
|
|
|
# Recolor book content's color
|
|
recolor-lightcolor = "#fbf1c7"; # bg0
|
|
recolor-darkcolor = "#282828"; # fg'0
|
|
recolor = "true";
|
|
recolor-keephue = true; # keep original color
|
|
};
|
|
|
|
extraConfig = ''
|
|
map <Space> navigate next
|
|
map <S-Space> navigate previous
|
|
'';
|
|
};
|
|
}
|