2024-03-26 22:58:04 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
2024-09-04 20:28:41 +00:00
|
|
|
flake,
|
2024-03-26 22:58:04 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
in {
|
|
|
|
home-manager.users."${psCfg.user.name}" = {
|
|
|
|
services.mako = {
|
|
|
|
enable = true;
|
2024-09-04 20:28:41 +00:00
|
|
|
extraConfig = with flake.self.theme.withHashtag; ''
|
2024-03-26 22:58:04 +00:00
|
|
|
padding=10
|
|
|
|
margin=5,5,0
|
|
|
|
default-timeout=5000
|
|
|
|
|
2024-09-04 20:28:41 +00:00
|
|
|
background-color=${base00}
|
|
|
|
text-color=${base05}
|
|
|
|
border-color=${base07}
|
2024-03-26 22:58:04 +00:00
|
|
|
font=Hack 14
|
|
|
|
|
|
|
|
[urgency=high]
|
2024-09-04 20:28:41 +00:00
|
|
|
background-color=${base07}
|
|
|
|
text-color=${base00}
|
|
|
|
border-color=${base00}
|
2024-03-26 22:58:04 +00:00
|
|
|
layer=overlay
|
|
|
|
font=Hack 14
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|