2024-12-18 09:40:11 +03:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
let
|
|
|
|
dpiAware = if config.module.display.dpiAware then "yes" else "no";
|
|
|
|
in
|
2024-10-11 23:27:07 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
file = (pkgs.formats.ini { }).generate "FuzzelConfig" {
|
|
|
|
main = {
|
|
|
|
dpi-aware = dpiAware;
|
|
|
|
font = "Minecraftia:size=${toString config.module.style.font.size.popup}";
|
|
|
|
lines = 20;
|
|
|
|
prompt = "\"\"";
|
|
|
|
show-actions = "yes";
|
|
|
|
terminal = "foot";
|
|
|
|
width = 40;
|
|
|
|
};
|
|
|
|
border = {
|
|
|
|
radius = 0;
|
|
|
|
width = 1;
|
|
|
|
};
|
|
|
|
colors =
|
|
|
|
let
|
|
|
|
defaultOpacity = "ff";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
background = config.module.style.color.bg.dark + config.module.style.opacity.hex;
|
|
|
|
border = config.module.style.color.border + config.module.style.opacity.hex;
|
|
|
|
counter = config.module.style.color.bg.regular + defaultOpacity;
|
|
|
|
input = config.module.style.color.fg.light + defaultOpacity;
|
|
|
|
match = config.module.style.color.fg.light + defaultOpacity;
|
|
|
|
placeholder = config.module.style.color.bg.regular + defaultOpacity;
|
|
|
|
prompt = config.module.style.color.fg.light + defaultOpacity;
|
|
|
|
selection = config.module.style.color.bg.regular + defaultOpacity;
|
|
|
|
selection-match = config.module.style.color.accent + defaultOpacity;
|
|
|
|
selection-text = config.module.style.color.fg.light + defaultOpacity;
|
|
|
|
text = config.module.style.color.fg.light + defaultOpacity;
|
|
|
|
};
|
|
|
|
};
|
2024-06-23 00:40:52 +03:00
|
|
|
}
|