nixcfg/homeManagerModules/apps/fuzzel/default.nix

36 lines
986 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
lib,
2024-04-07 22:16:33 -04:00
...
}: {
config = lib.mkIf config.ar.home.apps.fuzzel.enable {
2024-03-28 19:52:15 -04:00
programs.fuzzel = {
enable = true;
settings = {
border = {
radius = 10;
width = 2;
};
2024-03-28 19:52:15 -04:00
main = {
font = "NotoSansM Nerd Font:size=${toString config.gtk.font.size}";
icon-theme = "${config.gtk.iconTheme.name}";
2024-03-28 19:52:15 -04:00
layer = "overlay";
lines = 3;
terminal = lib.getExe config.ar.home.defaultApps.terminal;
2024-06-03 22:10:25 -04:00
width = 36;
};
2024-03-28 19:52:15 -04:00
colors = {
background = "${config.ar.home.theme.colors.background}CC";
border = "${config.ar.home.theme.colors.primary}EE";
selection = "${config.ar.home.theme.colors.background}FF";
selection-match = "${config.ar.home.theme.colors.primary}FF";
selection-text = "${config.ar.home.theme.colors.secondary}FF";
text = "${config.ar.home.theme.colors.text}FF";
2024-03-28 19:52:15 -04:00
};
};
};
};
}