nix/modules/home-manager/mako.nix

31 lines
599 B
Nix
Raw Normal View History

2023-10-05 13:43:28 -05:00
{
colors,
font,
...
}: {
services.mako = with colors.withHashPrefix; {
2024-03-27 10:38:30 -05:00
enable = true;
2023-10-05 13:43:28 -05:00
borderSize = 1;
maxVisible = 5;
defaultTimeout = 15000;
font = "Symbols Nerd Font ${toString font.size},${font.name} ${toString font.size}";
# TODO: config
backgroundColor = bg;
textColor = text;
borderColor = primary;
progressColor = primary;
2023-11-10 15:07:01 -06:00
anchor = "top-right";
2023-10-05 13:43:28 -05:00
extraConfig = ''
[urgency=high]
border-color=${urgent}
[urgency=high]
background-color=${urgent}
2023-10-17 11:42:19 -05:00
border-color=${urgent}
text-color=${bg}
2023-10-05 13:43:28 -05:00
'';
};
}