2024-06-25 04:04:39 +03:00
|
|
|
{ pkgs, config, ... }: let
|
2024-06-24 13:36:10 +03:00
|
|
|
dpiAware = if config.setting.dpiAware then "yes" else "no";
|
2024-06-23 00:40:52 +03:00
|
|
|
in {
|
|
|
|
file = (pkgs.formats.ini {}).generate "FuzzelConfig" {
|
|
|
|
main = {
|
|
|
|
dpi-aware = dpiAware;
|
2024-06-25 02:13:09 +03:00
|
|
|
# font = "${style.font.serif.name}:size=${toString style.font.size.popup}";
|
2024-06-29 18:05:39 +03:00
|
|
|
font = "Minecraftia:size=${toString config.style.font.size.popup}";
|
2024-06-23 01:02:11 +03:00
|
|
|
lines = 20;
|
2024-06-23 23:45:13 +03:00
|
|
|
prompt = "\"\"";
|
2024-06-23 00:40:52 +03:00
|
|
|
show-actions = "yes";
|
2024-08-20 20:24:43 +03:00
|
|
|
terminal = "foot";
|
2024-06-23 01:02:11 +03:00
|
|
|
width = 40;
|
|
|
|
# list-executables-in-path = "no";
|
2024-06-23 00:40:52 +03:00
|
|
|
};
|
|
|
|
border = {
|
|
|
|
radius = 0;
|
|
|
|
width = 1;
|
|
|
|
};
|
2024-06-23 03:04:15 +03:00
|
|
|
colors = let
|
|
|
|
defaultOpacity = "ff";
|
|
|
|
in {
|
2024-06-29 18:05:39 +03:00
|
|
|
background = config.style.color.bg.dark + config.style.opacity.hex;
|
|
|
|
border = config.style.color.border + config.style.opacity.hex;
|
|
|
|
match = config.style.color.fg.light + defaultOpacity;
|
|
|
|
selection = config.style.color.bg.regular + defaultOpacity;
|
|
|
|
selection-match = config.style.color.accent + defaultOpacity;
|
|
|
|
selection-text = config.style.color.fg.light + defaultOpacity;
|
|
|
|
text = config.style.color.fg.light + defaultOpacity;
|
2024-06-23 01:02:11 +03:00
|
|
|
};
|
2024-06-23 00:40:52 +03:00
|
|
|
};
|
|
|
|
}
|