nix/modules/home-manager/mako.nix

31 lines
722 B
Nix
Raw Permalink Normal View History

2023-10-05 13:43:28 -05:00
{
colors,
font,
...
}: {
services.mako = with colors.withHashPrefix; {
enable = true; # TODO: launch mako alongside the wm/de instead so that I can use the plasma notification daemon if I choose to use plasma
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
'';
};
}