/
hm.nix
31 lines (28 loc) · 851 Bytes
/
hm.nix
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
{pkgs, config, lib, ... }:
with config.lib.stylix.colors.withHashtag;
with config.stylix.fonts;
{
options.stylix.targets.mako.enable =
config.lib.stylix.mkEnableTarget "Mako" true;
# Referenced https://github.com/stacyharper/base16-mako
config = lib.mkIf config.stylix.targets.mako.enable {
services.mako = {
backgroundColor = base00;
borderColor = base0D;
textColor = base05;
progressColor = "over ${base02}";
font = "${sansSerif.name} ${toString sizes.popups}";
# I wish the mako hm module was like the dunst one
extraConfig = ''
[urgency=low]
background-color=${base00}
border-color=${base0D}
text-color=${base0A}
[urgency=high]
background-color=${base00}
border-color=${base0D}
text-color=${base08}
'';
};
};
}