nixcfg/homeManagerModules/apps/fuzzel/default.nix

34 lines
1 KiB
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {alyraffauf.apps.fuzzel.enable = lib.mkEnableOption "Enables fuzzel.";};
2024-03-28 19:52:15 -04:00
config = lib.mkIf config.alyraffauf.apps.fuzzel.enable {
2024-03-28 19:52:15 -04:00
programs.fuzzel = {
enable = true;
settings = {
main = {
2024-05-12 21:32:57 -04:00
font = "${config.alyraffauf.desktop.theme.terminalFont.name} Regular";
icon-theme = "${config.alyraffauf.desktop.theme.iconTheme.name}";
2024-03-28 19:52:15 -04:00
layer = "overlay";
width = 36;
lines = 3;
terminal = "${pkgs.alacritty}/bin/alacritty";
2024-03-28 19:52:15 -04:00
};
2024-04-07 22:16:33 -04:00
border = {width = 2;};
2024-03-28 19:52:15 -04:00
colors = {
background = "${config.alyraffauf.desktop.theme.colors.background}CC";
selection = "${config.alyraffauf.desktop.theme.colors.background}FF";
2024-03-28 19:52:15 -04:00
selection-match = "#e78284FF";
selection-text = "#f4b8e4FF";
text = "${config.alyraffauf.desktop.theme.colors.text}FF";
border = "${config.alyraffauf.desktop.theme.colors.primary}AA";
2024-03-28 19:52:15 -04:00
};
};
};
};
}