mako: update to new home-manager module (#1211)

Link: https://github.com/danth/stylix/pull/1211

Closes: https://github.com/danth/stylix/issues/1210
This commit is contained in:
awwpotato 2025-05-03 20:58:28 -07:00 committed by GitHub
parent e51b3e64f9
commit b631dffa61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 21 deletions

6
flake.lock generated
View file

@ -224,11 +224,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1746040799, "lastModified": 1746317522,
"narHash": "sha256-osgPX/SzIpkR50vev/rqoTEAVkEcOWXoQXmbzsaI4KU=", "narHash": "sha256-/jZ4Wd4HHUEWPSlNj48k1E4Mh+1fUbwI/vSlPPIMG3U=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5f217e5a319f6c186283b530f8c975e66c028433", "rev": "621986fed37c5d0cb8df010ed8369694dc47c09b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -141,7 +141,13 @@
}; };
statix.enable = true; statix.enable = true;
typos.enable = true; typos = {
enable = true;
settings.configuration = ''
[default.extend-words]
criterias="criterias"
'';
};
yamllint.enable = true; yamllint.enable = true;
}; };

View file

@ -20,23 +20,25 @@
in in
with config.lib.stylix.colors.withHashtag; with config.lib.stylix.colors.withHashtag;
{ {
backgroundColor = base00 + makoOpacity; settings = {
borderColor = base0D; background-color = base00 + makoOpacity;
textColor = base05; border-color = base0D;
progressColor = "over ${base02}"; text-color = base05;
font = "${fonts.sansSerif.name} ${toString fonts.sizes.popups}"; progress-color = "over ${base02}";
# I wish the mako hm module was like the dunst one font = "${fonts.sansSerif.name} ${toString fonts.sizes.popups}";
extraConfig = '' };
[urgency=low] criterias = {
background-color=${base00}${makoOpacity} "urgency=low" = {
border-color=${base0D} background-color = "${base00}${makoOpacity}";
text-color=${base0A} border-color = base0D;
text-color = base0A;
[urgency=high] };
background-color=${base00}${makoOpacity} "urgency=high" = {
border-color=${base0D} background-color = "${base00}${makoOpacity}";
text-color=${base08} border-color = base0D;
''; text-color = base08;
};
};
}; };
} }
); );