blob: 62e57121d6aafa2d4086e113b273a00f9775e7eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
config,
lib,
...
}: let
inherit (lib) mkIf;
cfg = config.apps;
in {
config = mkIf cfg.mako {
home-manager.users.${config.user} = {
services.mako = {
enable = false; # now using astal
settings = {
font = "${config.theme.font.monospace} 11";
margin = toString config.theme.outerGap;
padding = toString config.theme.innerGap;
background-color = "#${config.theme.colors.base}";
progress-color = "#${config.theme.colors.primary}";
text-color = "#${config.theme.colors.text}";
border-color = "#${config.theme.colors.text}";
border-size = config.theme.borderWidth;
border-radius = config.theme.outerRadius;
default-timeout = 5000;
layer = "overlay";
icons = true;
};
};
};
};
}
|