2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
2024-08-07 21:54:36 -04:00
|
|
|
}: let
|
|
|
|
cfg = config.ar.home;
|
|
|
|
in {
|
|
|
|
config = lib.mkIf cfg.apps.fuzzel.enable {
|
2024-03-28 19:52:15 -04:00
|
|
|
programs.fuzzel = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2024-07-01 22:59:41 -04:00
|
|
|
border = {
|
|
|
|
radius = 10;
|
|
|
|
width = 2;
|
|
|
|
};
|
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
main = {
|
2024-08-07 21:59:25 -04:00
|
|
|
font = "${cfg.theme.monospaceFont.name}:size=${toString cfg.theme.monospaceFont.size}";
|
2024-07-03 10:35:39 -04:00
|
|
|
icon-theme = "${config.gtk.iconTheme.name}";
|
2024-03-28 19:52:15 -04:00
|
|
|
layer = "overlay";
|
2024-04-28 19:43:18 -04:00
|
|
|
lines = 3;
|
2024-08-07 21:54:36 -04:00
|
|
|
terminal = lib.getExe cfg.defaultApps.terminal;
|
2024-06-03 22:10:25 -04:00
|
|
|
width = 36;
|
|
|
|
};
|
2024-07-01 22:59:41 -04:00
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
colors = {
|
2024-08-07 21:54:36 -04:00
|
|
|
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";
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|