blob: d6d294b9abda01fc370749c1da9b78dcea1b6020 (
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
|
{
pkgs,
lib,
config,
...
}:
let
inherit (config.colorScheme) ui editor common;
# fuzzel wants RRGGBBAA with no leading '#'.
rgba = c: lib.toLower (lib.removePrefix "#" c) + "ff";
in
{
programs.fuzzel = {
enable = true;
settings = {
main = {
font = lib.mkForce "${config.theme.font.family}:size=${toString config.theme.font.size}";
};
colors = {
background = rgba ui.bg;
text = rgba editor.fg;
match = rgba common.accent.tint;
selection = rgba ui.panel.bg;
selection-text = rgba editor.fg;
selection-match = rgba common.accent.tint;
border = rgba ui.line;
};
border = {
radius = 0;
};
};
};
}
|