mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 12:31:55 -05:00
38 lines
949 B
Nix
38 lines
949 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.ar.home;
|
|
in {
|
|
config = lib.mkIf cfg.apps.fuzzel.enable {
|
|
programs.fuzzel = {
|
|
enable = true;
|
|
settings = {
|
|
border = {
|
|
radius = 10;
|
|
width = 2;
|
|
};
|
|
|
|
main = {
|
|
font = "${cfg.theme.monospaceFont.name}:size=${toString cfg.theme.monospaceFont.size}";
|
|
icon-theme = "${config.gtk.iconTheme.name}";
|
|
layer = "overlay";
|
|
lines = 3;
|
|
terminal = lib.getExe cfg.defaultApps.terminal;
|
|
width = 36;
|
|
};
|
|
|
|
colors = {
|
|
background = "${cfg.theme.colors.background}CC";
|
|
border = "${cfg.theme.colors.primary}EE";
|
|
selection = "${cfg.theme.colors.background}FF";
|
|
selection-match = "${cfg.theme.colors.primary}FF";
|
|
selection-text = "${cfg.theme.colors.secondary}FF";
|
|
text = "${cfg.theme.colors.text}FF";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|