blob: 7d612554fe18adb8e0bb0b97e8771715f31c7029 (
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
|
{
lib,
config,
pkgs,
...
}: let
cfg = config.collinux.desktop.wm.components.fuzzel;
settings = {
main = {
prompt = "";
dpi-aware = false;
font = "Iosevka Nerd Font";
line-height = 25;
lines = 10;
width = 30;
horizontal-pad = 8;
vertical-pad = 8;
};
border = {
radius = 0;
width = 3;
};
colors = with config.collinux.palette; {
background = "${base00}99";
border = "ffffff00";
input = base05;
match = base13;
placeholder = base03;
text = base01;
prompt = base01;
selection = "${base01}5a";
selection-match = base13;
selection-text = base05;
};
};
in
lib.mkIf cfg.enable {
files.".config/fuzzel/fuzzel.ini" = {
generator = lib.generators.toINI {};
value = settings;
};
packages = [pkgs.fuzzel];
}
|