nixcfg/homeManagerModules/apps/fuzzel/default.nix

37 lines
1 KiB
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
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 = "${config.ar.home.theme.terminalFont.name}:size=${toString config.ar.home.theme.terminalFont.size}";
icon-theme = "${config.ar.home.theme.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
};
};
};
};
}