aboutsummaryrefslogtreecommitdiff
path: root/modules/homeModules/fuzzel.nix
blob: b8af2958ef5e58f2eeb69fa75cfc19e4e7ad6a5c (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
{inputs, ...}: {
  flake.homeModules.fuzzel = {
    pkgs,
    config,
    lib,
    ...
  }: {
    options.customs = {
      fuzzel.enable = lib.mkEnableOption "enable fuzzel";
    };

    config = lib.mkIf config.customs.fuzzel.enable {
      programs.fuzzel = {
        enable = true;
        settings = {
          colors = {
            background = "1f1d2eff";
            text = "6e6a86ff";
            selection = "908caaff";
            selection-text = "1f1d2eff";
          };
          main = {
            lines = 9;
            terminal = "alacritty -e";
            vertical-pad = 0;
            horizontal-pad = 0;
          };
          border.width = 0;
        };
      };
    };
  };
}