summaryrefslogtreecommitdiffstats
path: root/usecases/desktop/graphical/zathura.nix
blob: d1832d876d9e0d4e51582bd3b612f278f669c0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
inputs:

{ config, ... }:

{
  home-manager.users.minijackson.programs.zathura = {
    enable = true;

    options = with config.theme.colors; {
      guioptions = "";
      adjust-open = "width";

      smooth-scroll = true;
      scroll-step = 100;
      #scroll-full-overlap = 0.05;

      selection-clipboard = "clipboard";

      default-bg = softBackground;
      default-fg = foreground;

      notification-error-bg = neutralRed;
      notification-error-fg = foreground;

      notification-warning-bg = background;
      notification-warning-fg = brightRed;

      highlight-color        = fadedYellow;
      highlight-active-color = brightYellow;

      inputbar-bg = background;
      inputbar-fg = dominant;

      completion-bg = background;
      completion-fg = neutralBlue;

      completion-highlight-bg = dominant;
      completion-highlight-fg = background;

      notification-bg = dominant;
      notification-fg = background;

      index-bg = background;
      index-fg = foreground;

      index-active-bg = dominant;
      index-active-fg = background;

      recolor-lightcolor = background;
      recolor-darkcolor  = foreground;
      recolor-keephue = true;
      recolor = true;
    };
  };
}