Add extra fuzzel config

This commit is contained in:
Evie Litherland-Smith 2024-05-27 14:40:23 +01:00
parent a8cab26188
commit 28699d2b27

View file

@ -2,16 +2,43 @@
config, config,
lib, lib,
pkgs, pkgs,
fonts,
accentColour ? "base07",
... ...
}: { }: {
programs.fuzzel = { programs.fuzzel = {
enable = true; enable = true;
settings = { settings = {
main = { main = {
terminal = "${pkgs.foot}/bin/foot"; dpi-aware = false;
font = "${fonts.monospace.name}:size=${toString fonts.sizes.applications}";
icon-theme = config.gtk.iconTheme.name;
icons-enabled = true;
fields = "filename,name,generic,categories";
fuzzy = true;
terminal = with config.programs; "${
if alacritty.enable
then alacritty.package
else pkgs.alacritty
}/bin/alacritty -e";
lines = 40;
width = 80;
tabs = 4;
layer = "overlay"; layer = "overlay";
}; };
colors.background = "ffffffff"; colors = with config.scheme; {
background = "${base00}5A"; # 90% opacity
text = "${base05}FF";
match = "${red}FF";
selection = "${base01}FF";
selection-text = "${base05}FF";
selection-match = "${red}FF";
border = "${config.scheme.${accentColour}}FF";
};
border = {
width = 1;
radius = 10;
};
}; };
}; };
} }