2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-04-17 22:39:00 -04:00
|
|
|
options = {alyraffauf.apps.fuzzel.enable = lib.mkEnableOption "Enables fuzzel.";};
|
2024-03-28 19:52:15 -04:00
|
|
|
|
2024-04-17 22:39:00 -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-15 15:39:48 -04:00
|
|
|
font = "${config.alyraffauf.desktop.theme.terminalFont.name}:size=${toString config.alyraffauf.desktop.theme.terminalFont.size}";
|
2024-05-04 20:55:37 -04:00
|
|
|
icon-theme = "${config.alyraffauf.desktop.theme.iconTheme.name}";
|
2024-03-28 19:52:15 -04:00
|
|
|
layer = "overlay";
|
2024-04-28 19:43:18 -04:00
|
|
|
lines = 3;
|
2024-05-15 15:39:48 -04:00
|
|
|
terminal = config.alyraffauf.desktop.defaultApps.terminal.exe;
|
2024-06-03 22:10:25 -04:00
|
|
|
width = 36;
|
|
|
|
};
|
|
|
|
border = {
|
|
|
|
radius = 10;
|
|
|
|
width = 2;
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
colors = {
|
2024-05-04 20:55:37 -04:00
|
|
|
background = "${config.alyraffauf.desktop.theme.colors.background}CC";
|
2024-06-03 22:10:25 -04:00
|
|
|
border = "${config.alyraffauf.desktop.theme.colors.primary}EE";
|
2024-05-04 20:55:37 -04:00
|
|
|
selection = "${config.alyraffauf.desktop.theme.colors.background}FF";
|
2024-03-28 19:52:15 -04:00
|
|
|
selection-match = "#e78284FF";
|
|
|
|
selection-text = "#f4b8e4FF";
|
2024-05-04 20:55:37 -04:00
|
|
|
text = "${config.alyraffauf.desktop.theme.colors.text}FF";
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|