nix/modules/home-manager/mako.nix

33 lines
643 B
Nix
Raw Normal View History

2023-10-05 13:43:28 -05:00
{
colors,
font,
...
}: {
services.mako = with colors.withHashPrefix; {
2024-04-05 11:21:20 -05:00
enable = false;
2023-11-10 15:07:01 -06:00
anchor = "top-right";
2023-10-05 13:43:28 -05:00
extraConfig = ''
2024-05-26 09:48:52 -05:00
border-size=1
max-visible=5
default-timeout=15000
font=Symbols Nerd Font ${toString font.size},${font.name} ${toString font.size}
anchor=top-right
background-color=${colors.bg}
text-color=${colors.text}
border-color=${colors.primary}
progress-color=${colors.primary}
2023-10-05 13:43:28 -05:00
[urgency=high]
border-color=${urgent}
2024-05-26 09:48:52 -05:00
2023-10-05 13:43:28 -05:00
[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
'';
};
}