aboutsummaryrefslogtreecommitdiff
path: root/modules/user/desktop/components/fuzzel.nix
blob: 67bf047bc3aff2265a76bfb7c2cfe76cac06b9ab (plain) (blame)
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
{ config, ... }:
{
  programs.fuzzel.settings = {
    border = {
      radius = 0;
      width = 2;
    };

    colors =
      let
        accent = if config.desktop.accent == "blue" then "89b4faff" else "f5c2e7ff";
      in
      {
        background = "1e1e2eff";
        border = accent;
        input = "cdd6f4ff";
        match = accent;
        placeholder = "7f849cff";
        prompt = "bac2deff";
        selection = "585b70ff";
        selection-match = accent;
        selection-text = "cdd6f4ff";
        text = "cdd6f4ff";
      };

    main = {
      dpi-aware = true;
      font = "Fira Code:size=6";
      tabs = 4;
      terminal = "foot -a '{cmd}' -T '{cmd}' {cmd}";
      use-bold = true;
    };
  };
}